jQuery is a cross-browser JavaScript library that facilitates DOM traversal, event handling, animation and AJAX interactions.

learn more… | top users | synonyms (3) | jquery jobs

0
votes
1answer
6 views

Aborting pending / backlog of AJAX requests using jQuery

I have the following script: $(document).ready(function(){ $('#input').keyup(function(){ sendValue($(this).val()); }); }); function sendValue(str){ $.post("ajax.php",{ ...
0
votes
3answers
16 views

How to find an element regardless of it's level?

this is similar to my last question. sorry I don't know whether i could edit the same question. so here is my requirement. my HTML has the following part <ul class="products-grid"> <li ...
0
votes
3answers
21 views

How to change value of select box to the last option through jquery

I have one select box in which options and its values will be fetched from PHP database. The last option will be "New Address". HTML <select name="shipping_address_id" ...
0
votes
1answer
7 views

Can we register server event handler using jquery?

I have a button server control in my asp.net webform . So in my webform the button has a server event handler . I want to fire the event only if the user adds a remark in a dialog box that pops ...
0
votes
3answers
28 views

Is it safe to put an ID (will insert in DB) into a hidden input?

Here's the summary of my code: My website basically just loops the content of all the rows of a certain table; however, at times, I'll need to obtain an individual ID from a certain row. The hidden ...
-2
votes
0answers
19 views

jquery form target is not started

Trying this example: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> <script ...
0
votes
1answer
8 views

How to remove the existence of a div with fadeout and delay functions in jquery

I have a situation here that i have a common success message div coming on top of the page. It has a functionality as below: function showSuccessMessage(messageType) { var ...
0
votes
0answers
18 views

jquery mobile trigger create method

I was wondering how to write the .trigger("create") mehtod I saw this on jquery mobile docs code -$( ...new markup that contains widgets... ).appendTo( ".ui-page" ).trigger( "create" ); but due to ...
0
votes
1answer
23 views

javascript autocomplete with min length 2

I want to add the condition for minLength 2. // global variables var acListTotal = 0;<br> var acListCurrent = -1;<br> var acDelay = 500;<br> var acURL ...
0
votes
0answers
14 views

jCarousel callback on control buttons

I'm currently having a trouble with jCarousel. I don't know why, I picked the instructions about installation and configuration here : http://sorgalla.com/jcarousel/docs/plugins/control/index.html ...
0
votes
0answers
6 views

JQuery Ajax, Rails

I have no idea how to get about this. Say I want to animate a comment that has just been posted, maybe making it fade in, how would I set an ID to it in Rails so that I could select it and animate it? ...
0
votes
0answers
19 views

jQuery mega dropbox menu

I am currently working on mega dropbox menu. My firt idea was to use LIs as a menu and then somewhere define DIVs for content of megamenu: <ul> <li class="menu" ...
0
votes
5answers
34 views

How to select all elements with a specific attribute in a page with jquery?

Imagine that I have this html code: <div class="all"> <div class="test"> <a class="test1" href="#">test</a> </div> </div> I am writing some codes ...
0
votes
0answers
14 views

droppable issue in html Jquery

I want to drag and drop in Jquery.Drag is working well but when i drop it,it do not work.here is what i tried <div data-item="listItem_1" class="button listItem_1">Module1</div> <div ...
3
votes
3answers
45 views

Why are variables inside functions visible to callback functions declared inside that function?

I had a colleague ask me why he couldn't access a an event parameter from a callback function. Turns out that jquery seems to be setting the event to null after the call finishes and creating a ...

1 2 3 4 5 21498
15 30 50 per page