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 1719 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 2173 posted 15 years ago by e11world
This one worked for me and I thought I'd share it with the rest of you!
2 2447 posted 15 years ago by e11world
2 1877 posted 15 years ago by spraitas
1 1598 posted 15 years ago by Sullan
usage; $.toJSON($(\'form\').serializeObject());
3 2150 posted 15 years ago by virgil
Add rel="external" on link you would like to open in a new window
1 1699 posted 15 years ago by gerhardsletten
0 1272 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 2398 posted 15 years ago by theOtherOne
Courtesy Brian Cray.
4 2233 posted 15 years ago by vagrantradio
1 1336 posted 15 years ago by ponjoh
1 1528 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 1864 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 1996 posted 15 years ago by andres_314
0 1578 posted 15 years ago by konteck
very minimal way to get the value and text of a combo box using jquery
1 1681 posted 15 years ago by blipz
3 2007 posted 15 years ago by gdpotter
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 2375 posted 15 years ago by Nettuts
1 1689 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 1884 posted 15 years ago by wildpeaks
Also includes the fix for when the user resizes the window.
4 1931 posted 15 years ago by Meander365
30 minutes spent on this :)
4 1918 posted 15 years ago by TEHEK
3 1914 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 1782 posted 15 years ago by mattvbiggs
1 1847 posted 15 years ago by sb_01
1 1643 posted 15 years ago by sb_01
1 ... 15 16 17 18 19 ... 30