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
858
posted 16 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
727
posted 16 years ago by wizard04
https://www.chrisjmendez.com/2008/09/21/jquery-ensure-that-at-least-one-checkbox-is-selected/
4
951
posted 16 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
741
posted 16 years ago by DesTincT
Sniff and disable Firebug. Not sure why you'd need it though. Firebug is just great.
4
860
posted 16 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
770
posted 16 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
673
posted 16 years ago by sulfurito
Modified just a bit. This version includes the Google Chrome beta.
2
879
posted 16 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
1056
posted 16 years ago by aristoworks
Just some pseudo-code notes about using labels with `break` and `continue` statements.
0
842
posted 16 years ago by wizard04
Highlight an address and click the bookmarklet to open it in Google Maps
1
768
posted 16 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
908
posted 16 years ago by wizard04
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
1050
posted 16 years ago by jamesming