Hi,
I have a function (filterLeads) that I wish to call both when a form field is moved away from (blur) and when the enter key is pressed within a form field.
$('#filter input, #filter select').blur(filterLeads);
$('#filter input, #filter select').keypress(function(e){if(e.which == 13) {filterLeads();}});
The blur works correctly bu...
Hi Friends,
I am having a form with lots of entries. I would like to change my focus to the next textbox, once i entered the value in the current textbox. and want to continue this process upto the last field. My question is, is it possible to simulate tab key through javascript coding once i enter the value in the text box.
Without pre...
Hi,
I'm trying to make a rich text editor with the background set on iframes body.
The background is repeated in y axis and when the user types in the string without any spaces the horizontal scroll appears and the background is moved to the left. I fixed it with overflow-x:hidden in all browsers except IE 8 where the behaviour is the s...
Hi, I'm trying to remove all the sibling elements after a particular div, lets say the div tag with id = id8.
<form>
<div id="id5">something ...<div>
<div id="id8">something ...<div>
<div id="id3">something ...<div>
<div id="id97">something ...<div>
<div id="id7">something ...<div>
...
<div id="idn">some text ...<div>
</form>
To d...
Is there any way to enable JavaScript on the client machine using PHP?
...
How can I set the background-color of an entire row (not just cell) using the custom formatter?
...
Firebug console scope. Why isn't "this" always the same? Shoudn't it be "window" all the time?
...
On a lot of the pages I work with there are a lot of external(non-critical) external images and js files that get called that affect the load time. One of these is a tracking pixel for an ad company that sometimes can take a few seconds to load and you can see this hanging in the browser so it gives a poor user experience. Is there a way...
I want to remove top frame using google Language Translation link ( http://translate.google.com/translate?hl=en&ie=UTF-8&sl=es&tl=en&u=http%3A//www.yahoo.com/ )....
after inserting site name and language option (Translate from:.. Translate INTO:)
...
In my ASP.NET page I have
<script src="Common2.js" type="text/javascript" ></script>
How can I force the clients to never cache it so that it is always loaded fresh.
...
Im trying to make a pop-up like window using jquery and its modal box. First I load the content from a html file:
$("#test").load("test.htm");
Then I load the popup:
$("#test").dialog("open");
This works like it should, the content of test.html is injectet into the modal pop-up. There is only one think that is wrong, and that is th...
The question is pretty much in the title ;-)
Do you know if there is a webkit API for reading/writing from the iPhone keychain ? That is, I would need to access the keychain from a webapp.
Thanks in advance !
...
How can I change a <img> with the JS-Library Prototype?
I managed it to get the element but I couldn't change the "src":
$('item1').getElementsBySelector('img')
...
I run Aptana 2.0 on Win 7. I normally code HMTL/CSS/JS but the other day I started with a PHP project, so I downloaded the PDT plugin to get proper colorization in .PHP files.
It works fine, but my problem is that PDT also seems to mess with Javascript editing (applies another colorization scheme that's the same as in PHP files, and cod...
I have a list of values in a drop down style select box e.g.
<select id="places">
<option>Italy</option>
<option>France</option>
<option>Germany</option>
<option>Spain</option>
</select>
I also have the same list of values in a div on my page
e.g.
<div>
<span>Italy</span>
<span>France</span>
<span>Germany</span>
<span>Spain</span>
</...
Hi all,
I have an XML file, which can be viewed here, of data concerning a series of music albums, which I would like to load into javascript into an array called "mymusic" in this form:
mymusic = [
{
title:,
artist:,
artwork:,
tracks: [
{
tracktitle:,
trackmp3:
},
{
tracktitle...
Why is there a for(;;); preamble in facebooks JSON responses?
...
I have a javascript error at the Safari 4.0.4 browser.
I'm using AJAX navigation for the browser, in order to navigate between the result of my AJAX request, but the problem is that sometimes (i couldn't found the exact reasone) the history.lenght stays at the same count, instead of increase its value.
Thanx :-)
...
i need to save an image file to client side ,, with out prompting the save,open,cancel dialog , or any similar thing , after long searching i heard that will this will be done only by ActiveX.
please note that the website is on minimum security and its LocalSite and trusted site
...
Possible Duplicate:
Why would a javascript variable start with a dollar sign?
What's the difference between ‘var $x’ and ‘var x’ in jQuery?
...