Language : jquery

Title User Language Tags Description Date
Cloning table header to the bottom of table with reverse NeXTs jQuery

Snippet may be usefull for cloning table header to the bottom of table.

Snippet will clone all children elements from thead, reverse and insert to tfoot. Example at jsFiddle: jsFiddle

Saturday
jQuery - Function on toggleClass complete satie83 jQuery

How can I do a function once a toggleClass has completed?

The .toggleClass method along with all other animation methods return a deferred object that you can access using .promise(). At that point, you can bind to it's done method.

June 14
Prevent jQuery conflicts Priestd09 jQuery

Here is a simple and clever way to prevent script conflicts when using jQuery. This snippet will show how to scope the dollar sign.

June 4
Only Numbers in Web Controls with jQuery keidash jQuery

Example to manipulate only numbers (and tab key) in a web control (textbox example)

May 27
JQuery grayscale images turn colored on hover zartgesotten jQuery

Works like a charm. Read manual on site. For use with Worpdress, replace $ with jQuery.

May 23
add incremental classes thesmu jQuery

add incremental classes

May 16
add target blank thesmu jQuery

add target blank

May 16
Jquery table tr checkbox selectable webbu jQuery

Jquery table tr checkbox selectable http://jqueryui.com/selectable/

required *jquery *jqueryui

May 1
Post form by AJAX and jQuery khaled__mahmoud jQuery

This code shows how we post HTML form by AJAX and jQuery.

May 1
Show hide jquery Armin jQuery

Show hide

April 25
Latest jQuery CDN daisyfig99 jQuery

jQuery's CDN that hostess the their latest jQuery code.

April 20
Adding an active class to nav links based on URL with jQuery Address vaughanj jQuery

What this does is it adds the attribute “data-path” to each of the nav links, and gives this attribute a value of whatever comes after the “base” URL. Because we are using jQuery Address, we have the (event.value) variable to play with. This value is automatically set to be whatever is after the “base” value too, which means we can now check to see if these values equal each other. If they do, the active class is added to the link. Remember, this function resides inside the jQuery.address.change function, so it will be run every time a new link is clicked.

April 6
Use jQuery to display an image alt tag as a caption overlay vaughanj jQuery

Loop through all the images in a given container, grab their alt tags if they are not empty, and then create an overlay in a span tag that will be positioned on the bottom corner of the each image.

April 6
Javascript touch events from click bitsculptor jQuery

Add the init() function to your document.ready call. This allows touch events to be handled like click events.

March 23
Form validator tcspinks jQuery

Validate numbers only, email addresses, and add error classes

March 23