Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
this requires jquery.js, jquery.metadata.js, and jquery.validate,js
2
1278
posted 17 years ago by bcalloway
When you're viewing an older version of a snippet, the Plain Text and Highlighted Text links point back to the latest version. This greasemonkey script fixes those links to point to the version you're currently viewing.
0
1105
posted 17 years ago by wizard04
https://www.chrisjmendez.com/2008/09/21/jquery-ensure-that-at-least-one-checkbox-is-selected/
4
1398
posted 17 years ago by chrisaiv
For user-friendly animations on hover event.
Prevents repeating animations when hovering object many many times.
Example needs "jquery.color" plugin for color animations. But you can use any animations you want.
0
1202
posted 17 years ago by DesTincT
Sniff and disable Firebug. Not sure why you'd need it though. Firebug is just great.
4
1257
posted 17 years ago by zerolab
Description
print_r - Prints human-readable information about a variable
mixed print_r( mixed expression [, bool return] )
print_r() displays information about a variable in a way that's readable by humans.
Parameters
* expression...
0
1317
posted 17 years ago by ianmonge
Para validar si son dígitos, letras, números enteros o decimales (se puede seleccionar el separador de decimales). La función esDigito() y esLetra() está basada en otros códigos de Snipplr
1
1043
posted 17 years ago by sulfurito
Modified just a bit. This version includes the Google Chrome beta.
2
1536
posted 17 years ago by wizard04
This is a simple javascript snippet that will allow you to specify a particular class to a group of checkboxes and then select them all at once when you click the master checkbox. This came in very handy for a store inventory script when I needed to...
0
1546
posted 17 years ago by aristoworks
Just some pseudo-code notes about using labels with `break` and `continue` statements.
0
1262
posted 17 years ago by wizard04
Highlight an address and click the bookmarklet to open it in Google Maps
1
1167
posted 17 years ago by wizard04
In mouseout and mouseover event handlers, use this object to check if the mouse was leaving or entering a "landmark" element. See my [MouseEnter/Leave Handlers](http://snipplr.com/view/8913/mouseenterleave-handlers/) snipplet for a practical use....
3
1559
posted 17 years ago by wizard04
Quick and easy way to feed flickr images into your website
2
1396
posted 17 years ago by jessnoonyes
Post a stripped down version of the page if you can. One that shows exactly how the iframe fits into the structure of the page.
The solution I settled on works like this:
The parent page has a javascript function like this:
function insertIt()...
0
1591
posted 17 years ago by jamesming