Welcome To Snipplr
Everyone's Recent Snippets Tagged javascript
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
730
posted 16 years ago by wizard04
Sniff and disable Firebug. Not sure why you'd need it though. Firebug is just great.
4
865
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
772
posted 16 years ago by ianmonge
Modified just a bit. This version includes the Google Chrome beta.
2
882
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
1063
posted 16 years ago by aristoworks
Just some pseudo-code notes about using labels with `break` and `continue` statements.
0
845
posted 16 years ago by wizard04
Highlight an address and click the bookmarklet to open it in Google Maps
1
771
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
910
posted 16 years ago by wizard04
First noscript tag redirects the user to the page telling them to allow scripts. Second section is an example page of one which will go to the default page if scripts are allowed, or to give them a message otherwise.
1
768
posted 16 years ago by Anthony
Gets a ClientScriptManager reference from the Page class. If the client script is not already registered on the page, builds and registers a script. Useful for building a script dynamically and ensuring that it gets registered during the correct s...
1
778
posted 16 years ago by Anthony
NOT MY CODE. I was looking for a good code that would validate the date in JavaScript and I found this function. I thought it was worth keeping so I decided to post it on here as opposed to clutter my bookmarks with one more link.
Once again I take...
0
855
posted 16 years ago by ckester
Requires Mootools 1.2<br/>
http://mootools.net/download
Based on the mootools javascript framework a re-usable class for easily implementing an array of on submit events.
* Confirmation - Provides an Ok, Cancel input box before proceeding furt...
1
748
posted 16 years ago by dom111