Welcome To Snipplr
Everyone's Recent JavaScript Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Be sure to call the exact version desired or the script is only cached for one hour!
http://encosia.com/2009/10/11/do-you-know-about-this-undocumented-google-cdn-feature/
1
887
posted 14 years ago by housecor
Learn how to test for CSS property support in specific browsers using this simple Javascript technique.
1
753
posted 14 years ago by neal_grosskopf
Get the latest 5 titles from the Tumblr API using jquery
0
903
posted 14 years ago by morningcatmedia
We set up a voting page, where supporters would choose one of three candidates (only two are shown in the snippet). By clicking the checkbox, the supporter would add themselves to a Salsa group. This way only one vote for a candidate by a supporter w...
0
710
posted 14 years ago by powerthru
this is a way to deal with the fact that we can\'t reliably make checkboxes look larger on forms. So instead, we surround the form with a colored div, and set it up so that when the user clicks on the label next to the checkbox it checks the box.
0
807
posted 14 years ago by powerthru
Simply pass in array name and the value of the item you want to remove
1
980
posted 14 years ago by myke
Code in single.php, loop.php, index.php, page.php, category.php, und archive.php , innerhalb des loops einfügen.
0
813
posted 14 years ago by PM-Webdesign
Was using this to disable certain js functionality as it wasnt working on apple\'s webkit
2
909
posted 14 years ago by thiswayup
In regards to progressive enhancement, see also the [jQuery version](http://snipplr.com/view/48275/default-value-for-input-fields-jquery-version/).
6
942
posted 14 years ago by riddla
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3
960
posted 14 years ago by Nettuts
The following JavaScript will validate an email address using strict rules when a form is submitted.
0
862
posted 14 years ago by jprochazka
The following JavaScript will validate if a 10 digit phone number was supplied once the form is submitted.
0
709
posted 14 years ago by jprochazka
pass in 2 json objects returns an array of all differences included those nested in children.
_Q used internally to pass through to self, do not pass in _Q
0
987
posted 14 years ago by tennison
This code is pretty simple but massively useful. You can select any number of elements on the stage in Flash, then run this JSFL Command and it will round their x and y values to the nearest whole number. It's very handy when you want things to be on...
1
868
posted 14 years ago by jknight42