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 1454 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 1857 posted 15 years ago by e11world
This one worked for me and I thought I'd share it with the rest of you!
2 2096 posted 15 years ago by e11world
2 1583 posted 15 years ago by spraitas
1 1318 posted 15 years ago by Sullan
usage; $.toJSON($(\'form\').serializeObject());
3 1841 posted 15 years ago by virgil
Add rel="external" on link you would like to open in a new window
1 1417 posted 15 years ago by gerhardsletten
0 1028 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 2086 posted 15 years ago by theOtherOne
Courtesy Brian Cray.
4 1889 posted 15 years ago by vagrantradio
1 1092 posted 15 years ago by ponjoh
1 1272 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 1570 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 1684 posted 15 years ago by andres_314
0 1308 posted 15 years ago by konteck
very minimal way to get the value and text of a combo box using jquery
1 1396 posted 15 years ago by blipz
3 1696 posted 15 years ago by gdpotter
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 2018 posted 15 years ago by Nettuts
1 1383 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 1572 posted 15 years ago by wildpeaks
Also includes the fix for when the user resizes the window.
4 1604 posted 15 years ago by Meander365
30 minutes spent on this :)
4 1598 posted 15 years ago by TEHEK
3 1595 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 1480 posted 15 years ago by mattvbiggs
1 1545 posted 15 years ago by sb_01
1 1354 posted 15 years ago by sb_01
1 ... 15 16 17 18 19 ... 30