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 1075 posted 14 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 1115 posted 14 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 2281 posted 14 years ago by crypticsoft
tinyscrollbar
0 682 posted 14 years ago by daanoz
Use this to go to a URL when selecting an option.
2 1295 posted 14 years ago by smoothdzion
1 866 posted 14 years ago by coryschadt
1 1169 posted 14 years ago by coryschadt
3 1457 posted 14 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 2465 posted 14 years ago by atik
Example of how to display HTTP error code and message on ajax response
0 1174 posted 14 years ago by anagaiyahoocom
simple jquery accordion
0 1033 posted 14 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 1252 posted 14 years ago by happynuclear
0 1036 posted 14 years ago by joshangell
0 1090 posted 14 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 1391 posted 14 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 1083 posted 14 years ago by mikemetcalf
0 1368 posted 14 years ago by Alwaison
2 1154 posted 14 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 1500 posted 14 years ago by FatFolderDesigner
add this line: Cufon.replace('a', { hover: true }); before your actual cufon replace.
2 1105 posted 14 years ago by Savio
Updated code (December, 2012) to get a tweet from a user's twitter timeline using JSON and jQuery
3 1800 posted 14 years ago by eddequincey
Cache control when pulling in scripts, redefined "getScript" function
0 1357 posted 14 years ago by lamebollock
5 1535 posted 14 years ago by vestimir
1 ... 7 8 9 10 11 ... 24