I want to validate the e-mail address entered by the user that it is like that format [email protected]. iti.gov.eg must be writen in the e-mail address. The user must enter his e-mail address in that format in text box.
And how can I retrive it from the text box and check it?
My code is:
var r=/^([a-z\.])+\@(iti)+\.+(gov)+\.+(eg)+$...
Hi, I'm currently creating an extension for google chrome which can save all images or links to images on the harddrive.
The problem is I don't know how to save file on disk with JS or with Google Chrome Extension API.
Have you got an idea ?
...
hi,
i have an datatable with valuees like this
names
------
kumar
kiran
ram
bala
----
anu
sita
geetha
-----
asha
abc
tsdf
dsf
sdf
sdfrt
sdfsdfd
sdfdsfsdf
--------
i am binding my table to listview like this
ListItem ddlItem;
foreach (DataRow dr in dt.Rows)
{
ddlItem = new ListItem(dr["names"].ToString())
lbx.Items.Add(ddlItem);
}
...
See this page:
http://ryan.rawswift.com/sandbox/fixed-bottom-bar/
When you load this page, and try hitting space bar, page up/down or use the scroll wheel on your mouse, it doesnt scroll at all. This is because the page is wrapped inside a secondary "viewport" in order to place the facebook bar in the bottom of the page.
When you click...
How can I find the first element in a document which has style="display:none;" set and make it visible?
I want to attach this function to a button to display several hidden elements, one by one.
...
i have problem to fetch background url of a div
HTML:
<div id='test'></div>
CSS:
#test { position:absolute; height:55px; width:85px; top:554px; left:197px; background:url('images/1.jpg'); }
when i try to get background image url by using below it displays blank.
alert(document.getElementById("test").style.backgroundImage);
b...
The Problem is:
I get the following structure (generated in PHP) sent via JSON as a string.
<article>
<header>
<h2><a href="#">url</a></h2>
<p><time datetime="2009-11-05">05 Nov 2009</time></p>
</header>
<div class="entry">
<p>something</p>
...
</div>
<footer>something</footer>
</article>
I have a list of arti...
Hi,
I am trying to parse data off a page using phpquery(almost same as jquery),
I need code to get these 2 things,
B K Guda Association Hall
and
Main Road, C Type Colony, B K Guda
other things can be left out..
this is the html
<td>
<a href="#...">
<span class="a12bl">
<u>
<h2 class="bold">...
Hi Everyone,
I am trying to add my own functionality to a jQuery plugin and to be honest it is not going well, I am using the easySlider 1.7 from here
My idea is to use the paginated version, there is an example on the linked site above, but instead pausing when the user clicks on one the numbered links, I want it to skip to that sli...
If you take a look at www.tvskive.dk with a Safari browser, the videoplayer just blinks, like it's in a neverending loop?? Cant quite figure out the problem
...
When using Dynamic Data and trying to Edit/Update a row, change a filter, etc. I get the below error. This happens on both ListDetails.aspx and List.aspx and I have not modifed these pages in any way.
It works fine when running it under the VS 2008 Web Server, but not when I deploy it onto our servers (I have tried three different serve...
can anyone suggest me for a round corners text area box either in javascript or in css
...
Hi
Am currently debugging an application with firebug and I would like to view what json/XML values my urls are returning.
Am using the MVC structure and therefore something close to
jQuery("#list1").jqGrid({
url:'http://localhost/Zend/jqueryapp/public/artist/index',
datatype: "json",
mtype: 'GET',
...
Hi
Is it possible to connect to an RSS feed, retrieve the XML object then parse and display it all within client side javascript/ AJAX?
Thanks,
...
I wan to create reply control for the web site in which
if user click on the Reply button then he or she get textbox and button and after clicking on that button the textbox value is insert to the DataBase
I already write one script
the script is like this
Click me!
but this script give me textbox for ...
How would I go about setting the background colour of an Ext JS Grid row, mainly just the selected item(s).
Any help would be greatly appreciated.
...
I have a gridview in its 3rd cell, there is textbox control, I am calling javascript function on onchange.
Can some body tell me why this is not working in Firefox and Chrome but working in IE
grd.rows[rowindex].cells[3].childNodes[0].value
It return correct value in IE but not in Chrome and firefox (In FF and Chrome it return undefi...
I've been working on an extension that checks for certain URLs in page content and lets the user put a button to automatically put these into the download manager. I've gotten everything I need, but how do I actually tell Chrome to put the URL into the download queue?
...
Hi, I'm trying to login to a Google Account for request Picassa Web photos with AJAX. That's the code:
xmlhttp=new XMLHttpRequest();
xmlhttp.open("POST","https://www.google.com/accounts/Login",true);
xmlhttp.send("accountType=HOSTED_OR_GOOGLE&Email=...&Passwd=...&service=lh2&source=prova");
document.getElementById('prova').innerHTML=xml...
I have a div element which I'm using as a pop-over search field which I want to have appear under the element which is being filtered. However, it seems that I cannot use the style.bottom and style.left of the element I want the field to be relative to as this element is static.
Example is here: http://www.is-epic.co.uk/example/example...