Welcome To Snipplr


Everyone's Recent jQuery Snippets



1 ... 15 16 17 18 19 ... 30
Trigger a .Click when you hover over an $(\'#element\')
0 1141 posted 14 years ago by nicktheandroid
This is a very useful piece of code (html, css, jquery) to have a nice animated floating menu on your page. I totally love it. I used it with jquery 1.3.2 and up
3 1430 posted 14 years ago by e11world
This one worked for me and I thought I'd share it with the rest of you!
2 1634 posted 14 years ago by e11world
2 1278 posted 14 years ago by spraitas
1 1015 posted 14 years ago by Sullan
usage; $.toJSON($(\'form\').serializeObject());
3 1488 posted 14 years ago by virgil
Add rel="external" on link you would like to open in a new window
1 1080 posted 14 years ago by gerhardsletten
0 793 posted 14 years ago by JohnnyGamba
First: clicking on a table row forwards you to the URL given in the first As href attribute. ------ Second: clicking on a link inside the row triggers the default action **AND** a click event on the table row. This needs to be stopped, so the default...
2 1561 posted 15 years ago by theOtherOne
Courtesy Brian Cray.
4 1452 posted 15 years ago by vagrantradio
1 831 posted 15 years ago by ponjoh
1 947 posted 15 years ago by kennonb
I know there are other solutions and sites out there that provide code to perform this simple animation but I like the way I laid out the code. The principal behind this code is it will toggle a show or hide event and change your plus or minus image...
1 1227 posted 15 years ago by mattvbiggs
<p>This snippet could be used when a text input has a default value. Thus, when user clicks on the input to write, the default value disappears and allows the user to write, but if the user does not type anything, the default value will appears again...
1 1256 posted 15 years ago by andres_314
0 1002 posted 15 years ago by konteck
very minimal way to get the value and text of a combo box using jquery
1 1073 posted 15 years ago by blipz
3 1278 posted 15 years ago by gdpotter
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 1576 posted 15 years ago by Nettuts
1 1048 posted 15 years ago by kormie
**Important: this snipplet has moved to Github.** - [Method 1: Static template via a SCRIPT tag, using Jquery Templates](https://gist.github.com/1972787) - [Method 2: Dynamic template from an arbitrary string, using Jquery Templates](https://...
1 1208 posted 15 years ago by wildpeaks
Also includes the fix for when the user resizes the window.
4 1207 posted 15 years ago by Meander365
30 minutes spent on this :)
4 1224 posted 15 years ago by TEHEK
3 1185 posted 15 years ago by nveselinov
This code can be used to create a MVC View User Control (.ascx) that will display a cascade or select all button with a clear button for checkboxes arranged in a hierarchy.
1 1165 posted 15 years ago by mattvbiggs
1 1203 posted 15 years ago by sb_01
1 1013 posted 15 years ago by sb_01
1 ... 15 16 17 18 19 ... 30