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 1822 posted 16 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 2294 posted 16 years ago by e11world
This one worked for me and I thought I'd share it with the rest of you!
2 2574 posted 16 years ago by e11world
2 1990 posted 16 years ago by spraitas
1 1684 posted 16 years ago by Sullan
usage; $.toJSON($(\'form\').serializeObject());
3 2268 posted 16 years ago by virgil
Add rel="external" on link you would like to open in a new window
1 1811 posted 16 years ago by gerhardsletten
0 1366 posted 16 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 2499 posted 16 years ago by theOtherOne
Courtesy Brian Cray.
4 2355 posted 16 years ago by vagrantradio
1 1414 posted 16 years ago by ponjoh
1 1633 posted 16 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 1974 posted 16 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 2134 posted 16 years ago by andres_314
0 1678 posted 16 years ago by konteck
very minimal way to get the value and text of a combo box using jquery
1 1793 posted 16 years ago by blipz
3 2120 posted 16 years ago by gdpotter
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 2511 posted 16 years ago by Nettuts
1 1891 posted 16 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 1987 posted 16 years ago by wildpeaks
Also includes the fix for when the user resizes the window.
4 2037 posted 16 years ago by Meander365
30 minutes spent on this :)
4 2034 posted 16 years ago by TEHEK
3 2029 posted 16 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 1888 posted 16 years ago by mattvbiggs
1 1951 posted 16 years ago by sb_01
1 1734 posted 16 years ago by sb_01
1 ... 15 16 17 18 19 ... 30