Welcome To Snipplr


Everyone's Recent JavaScript Snippets



1 ... 29 30 31 32 33 ... 65
The `localStorage.key` method is a great way to loop over localStorage items.
0 1262 posted 15 years ago by andrew8088
uses JavaScript to check DOM for proper clean linkback to widget source
1 1241 posted 15 years ago by cartercole
0 759 posted 15 years ago by flavioguima
This example shows how enableEditing can be emulated in version 3 of the Google Maps API. \\r\\nWhen releasing an editable point after dragging it, the changed part of the polyline will be updated.\\r\\nPoints can be added to by clicking on the map a...
0 3384 posted 15 years ago by peckham
1 1107 posted 15 years ago by terrencewood
0 1040 posted 15 years ago by terrencewood
1 1377 posted 15 years ago by tennison
Great for use in site footers.
0 1327 posted 15 years ago by batfan
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
0 1892 posted 15 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
0 1698 posted 15 years ago by rumremix
Simple function to return a decimal value between the minValue and the maxValue.
0 2528 posted 15 years ago by Jamie
Simple function to return a value between the minValue and the maxValue.
0 1485 posted 15 years ago by Jamie
HTML5 geolocation using the new HTML5 geolocation API, JavaScript and Google Maps. HTML5 geolocation detection is included. This will work in almost every modern browser except IE, but if your browser does not support it, it will tell you so. It will...
3 1950 posted 15 years ago by jonkemp
0 1058 posted 15 years ago by silverskymedia
Just the copy of the official code
0 1112 posted 15 years ago by koko
Replace “value” with the default value. If the field is selected, the default value will go away. If the user has previously changed the field value, it’ll be left alone. Alternatively, use onfocus=”this.value=”;” to always clear the f...
1 1694 posted 15 years ago by iqwebdev
0 1276 posted 15 years ago by iqwebdev
A light-weight solution for x-browser rounded corners solution, degrades gracefully back to square corners
0 1287 posted 15 years ago by simon87ainley
Please note that background colour, font sizes, font family, border style, border collapse, padding, td style flip horizontal or vertical and whether object intended to be flipped is a word or pic indicated by url is merely arbitrary, as code may be...
0 1845 posted 15 years ago by Hercolena
1 1482 posted 15 years ago by iroybot
Thanks to the original author.
1 1434 posted 15 years ago by riddla
1 ... 29 30 31 32 33 ... 65