Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 8 9 10 11 12 ... 44
This is a jQuery custom function used for clearing the default input values of input fields without having to add a class or inline javascript like onclick or onblur. Just write your input and give it a value like you normally would and then add this...
1 724 posted 12 years ago by thursday0384
Useful jQuery for mutliple items on a page that are using the same jquery function and classes to perform an action. By traversing the dom like this the function will only be applied to the item you are clicking on and not all elements on the page th...
0 691 posted 12 years ago by i-am-andy
This was for a "Sport Landing Page" where people can select their outfits. There is intial intro box that gets cleared on the first selection. The thumbnails popout on hover. And there is a clear function that takes out all the products selected to j...
0 697 posted 12 years ago by cpres
Really simple jQuery random image
0 638 posted 12 years ago by i-am-andy
0 658 posted 12 years ago by craymond
Initializing a popup
1 567 posted 12 years ago by cpres
By omitting [end] it will remove all to the end. Set an [end] with a negative value to count back from the end of the elements. fadeOut is unnecessary.
0 680 posted 12 years ago by lewiswalsh
An additional method for the jQuery validation plugin to validate a german date (dd.mm.YYYY) based on DateITA method.
0 1038 posted 12 years ago by tuuul
This is just a simple explanation of how to use the HTML5 local storage in javascript. The link has a more thorough explanation and an example for those interested. The examples to save, retrive, and clear are marked below.
0 608 posted 12 years ago by FatFolderDesigner
Select dinamico para el cambio de
0 568 posted 12 years ago by serialk89
input focus&blur actions
0 470 posted 12 years ago by mortu
0 603 posted 12 years ago by kbrown
CSS: .error style the error class Form HTML: class="required" makes the input field required minlength="2" makes the field require at least 2 characters
0 668 posted 12 years ago by redconservatory
image rollovers in jquery are usually super easy. However it sucks when working with absolute image paths - like a separate media server or CDN. Heres a quick snippet using substring and lastIndexOf to swap out the image src.
0 685 posted 12 years ago by inreflection7
0 476 posted 12 years ago by focal55
1 725 posted 12 years ago by xavsio4
Add attribute to links to open them in a new window. Example - rel="external". Alternative to target="_blank", conforming to XHTML specification.
0 830 posted 12 years ago by Huskie
0 456 posted 12 years ago by gamblelyn
Permanent link to latest minified jQuery release at jQuery.com
0 523 posted 12 years ago by Huskie
This is a little function that dynamically resizes the navigation, taking into account the size of the item width as well
0 591 posted 12 years ago by buzzswarbrick
We use our own dialog code, but the jQuery method of creating an overlay works well, so this is taken from the jQuery UI code and simplified.
0 584 posted 12 years ago by mejamiewilson
This is a simple example of the google maps javascript API v3. If you want a map with a marker this is the minimum you need to do to get it done. Theres more talk about how it's all set up, and how to use the other static image map as well at the lin...
1 787 posted 12 years ago by FatFolderDesigner
0 505 posted 12 years ago by smashu
1 ... 8 9 10 11 12 ... 44