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 1153 posted 15 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 1451 posted 15 years ago by e11world
This one worked for me and I thought I'd share it with the rest of you!
2 1657 posted 15 years ago by e11world
2 1295 posted 15 years ago by spraitas
1 1027 posted 15 years ago by Sullan
usage; $.toJSON($(\'form\').serializeObject());
3 1505 posted 15 years ago by virgil
Add rel="external" on link you would like to open in a new window
1 1092 posted 15 years ago by gerhardsletten
0 807 posted 15 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 1584 posted 15 years ago by theOtherOne
Courtesy Brian Cray.
4 1467 posted 15 years ago by vagrantradio
1 840 posted 15 years ago by ponjoh
1 960 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 1247 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 1274 posted 15 years ago by andres_314
0 1015 posted 15 years ago by konteck
very minimal way to get the value and text of a combo box using jquery
1 1091 posted 15 years ago by blipz
3 1294 posted 15 years ago by gdpotter
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 1597 posted 15 years ago by Nettuts
1 1063 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 1224 posted 15 years ago by wildpeaks
Also includes the fix for when the user resizes the window.
4 1224 posted 15 years ago by Meander365
30 minutes spent on this :)
4 1249 posted 15 years ago by TEHEK
3 1200 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 1180 posted 15 years ago by mattvbiggs
1 1217 posted 15 years ago by sb_01
1 1028 posted 15 years ago by sb_01
1 ... 15 16 17 18 19 ... 30