Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 ... 7 8 9 10 11 ... 24
Valiodate a form with jQuery.Validate and submit it with jQuery.form
1 1358 posted 15 years ago by marzsman
Execute function / action when an element has loaded or clicked. Originally seen here: http://www.codingforums.com/archive/index.php/t-144582.html
0 1424 posted 15 years ago by reverend
Basically, if the value has already been requested once before it's returned immediately from the cache. Otherwise, an AJAX request fetches the data and adds it to the cache. The $.when/.then doesn't care about any of this; all you need to be concern...
0 2657 posted 15 years ago by crypticsoft
tinyscrollbar
0 921 posted 15 years ago by daanoz
Use this to go to a URL when selecting an option.
2 1655 posted 15 years ago by smoothdzion
1 1197 posted 15 years ago by coryschadt
1 1557 posted 15 years ago by coryschadt
3 1874 posted 15 years ago by adambundy
$('#contentbox').keyup(function(){} - contentbox is the ID of the textbox. Using $(this).val() getting the textbox value. bar is the div ID of the count meter $('#bar').animate() increasing the width.
0 2880 posted 15 years ago by atik
Example of how to display HTTP error code and message on ajax response
0 1459 posted 15 years ago by anagaiyahoocom
simple jquery accordion
0 1344 posted 15 years ago by jelontok
When applied to a page, this script converts any sub-menus created in the Wordpress menu editor into drop-down menus without having to specify each menu item individually. Fades in sub-menu of selected list item quickly, then fades out when leaving l...
2 1604 posted 15 years ago by happynuclear
0 1343 posted 15 years ago by joshangell
0 1389 posted 15 years ago by joshangell
This function will insert items into an orders alphabetically (assuming it's already alphabetical). Initially design to make a smooth single page load/save feature that sotred everything in drop down lists, you guessed it, alphabetically. Can simply...
0 1804 posted 15 years ago by FatFolderDesigner
Focus and keypress events determine when to hide, show, or dim a label. Use in tandem with the following HTML/CSS: HTML ---- <li> <label>First Name</label> <input> </li> CSS ---- li { position: relative; } la...
0 1374 posted 15 years ago by mikemetcalf
0 1770 posted 15 years ago by Alwaison
2 1472 posted 15 years ago by coder_
A simple way to filter lists or tables that uses a new "Contains" (note capitalization) selector to clean up the code a bit. Three examples are below, first sorts through a list, second a table, third a tabe and it correctly the alternating row color...
0 1945 posted 15 years ago by FatFolderDesigner
add this line: Cufon.replace('a', { hover: true }); before your actual cufon replace.
2 1442 posted 15 years ago by Savio
Updated code (December, 2012) to get a tweet from a user's twitter timeline using JSON and jQuery
3 2263 posted 15 years ago by eddequincey
Cache control when pulling in scripts, redefined "getScript" function
0 1699 posted 15 years ago by lamebollock
5 1931 posted 15 years ago by vestimir
1 ... 7 8 9 10 11 ... 24