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 1274 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 1323 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 2545 posted 15 years ago by crypticsoft
tinyscrollbar
0 837 posted 15 years ago by daanoz
Use this to go to a URL when selecting an option.
2 1525 posted 15 years ago by smoothdzion
1 1080 posted 15 years ago by coryschadt
1 1427 posted 15 years ago by coryschadt
3 1725 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 2754 posted 15 years ago by atik
Example of how to display HTTP error code and message on ajax response
0 1373 posted 15 years ago by anagaiyahoocom
simple jquery accordion
0 1255 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 1510 posted 15 years ago by happynuclear
0 1242 posted 15 years ago by joshangell
0 1294 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 1670 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 1286 posted 15 years ago by mikemetcalf
0 1621 posted 15 years ago by Alwaison
2 1386 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 1818 posted 15 years ago by FatFolderDesigner
add this line: Cufon.replace('a', { hover: true }); before your actual cufon replace.
2 1334 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 2120 posted 15 years ago by eddequincey
Cache control when pulling in scripts, redefined "getScript" function
0 1597 posted 15 years ago by lamebollock
5 1806 posted 15 years ago by vestimir
1 ... 7 8 9 10 11 ... 24