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 1009 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 1033 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 2011 posted 14 years ago by crypticsoft
tinyscrollbar
0 635 posted 14 years ago by daanoz
Use this to go to a URL when selecting an option.
2 1209 posted 14 years ago by smoothdzion
1 800 posted 14 years ago by coryschadt
1 1098 posted 14 years ago by coryschadt
3 1356 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 2362 posted 14 years ago by atik
Example of how to display HTTP error code and message on ajax response
0 1108 posted 14 years ago by anagaiyahoocom
simple jquery accordion
0 947 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 1170 posted 14 years ago by happynuclear
0 969 posted 14 years ago by joshangell
0 1021 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 1265 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 1012 posted 14 years ago by mikemetcalf
0 1273 posted 14 years ago by Alwaison
2 1086 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 1396 posted 14 years ago by FatFolderDesigner
add this line: Cufon.replace('a', { hover: true }); before your actual cufon replace.
2 962 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 1696 posted 14 years ago by eddequincey
Cache control when pulling in scripts, redefined "getScript" function
0 1263 posted 14 years ago by lamebollock
5 1404 posted 14 years ago by vestimir
1 ... 7 8 9 10 11 ... 24