Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged javascript



1 ... 6 7 8 9 10 ... 33
Función para validar rut chileno en javascript
0 1701 posted 14 years ago by n19ht
Función para validar un e-mail en javascript
0 1030 posted 14 years ago by n19ht
Description: A function that add a class to an element if the element doesn't have anyone, if it already has one, add a new class name. Arguments: The elemento to which you want to add the class and the name of the class you want to add. From boo...
0 2181 posted 14 years ago by alberomo
A JavaScript starter with a namespace and closure
0 1445 posted 14 years ago by geekyjohn
A SWFObject embed example with all options.
0 2239 posted 14 years ago by geekyjohn
jLim is a small JavaScript base code. It can be used to built your own JavaScript library or framework.
0 1301 posted 14 years ago by freelancephp
Recomienda la app facebook a los amigos mediante FB.ui
0 1141 posted 14 years ago by serialk89
Envia un mensaje a los amigos desde method send de facebook graph
0 1102 posted 14 years ago by serialk89
Muestra un cuadro de dialigo en una app de facebook
0 994 posted 14 years ago by serialk89
This small javascript hides the table that holds statistical counters on hotdog.hu profile pages [footer part].
0 885 posted 14 years ago by Oroborus9
Removes the html tags in the string in javascript.
1 1257 posted 14 years ago by punuhan
Matches the word starting with si or Si and containing : in the word also as an optional. The expression can be tested here http://rejex.heroku.com/
0 1341 posted 14 years ago by punuhan
0 1041 posted 14 years ago by amandalaine
look through the list items in your main nav and based on href of anchor tags this will set the top level link to have an 'active' class.
0 2584 posted 14 years ago by iammikecohen
Convert number of seconds to HH:MM
0 963 posted 14 years ago by odavy
This will check if object is an array object. This will add isArray() method to Array native object. Can be used to check if passed in object is an array. Future ecmascript 5 will have this included. Can use this in the meantime. Using instance...
0 1336 posted 14 years ago by anagaiyahoocom
0 903 posted 14 years ago by werm
A really fucking cool and easy way to calculate the alpha value for microsoft gradient using Javascript. Particularly useful in the Firebug console. Like a calculator.
0 1102 posted 14 years ago by inreflection7
This will detect if console.log is available in browser and display the message. Otherwise will display as alert message
0 1142 posted 14 years ago by anagaiyahoocom
A tiny snippet on how to easily detect iPad/iPhone/iPod using javascript.
1 1122 posted 14 years ago by parkarlsson
Extend Date object to have isLeapYear() boolean (true for Leap Years) Taken from https://raw.github.com/vitch/jquery-methods/master/date.js
0 1067 posted 14 years ago by tomasdev
Somewhere along the road the people behind canvas decided that all image scaling is anti-aliased by default. Firefox has 'mozImageSmoothingEnabled' while Chrome et company don't. This is a proof of concept script to resize 'virtualCanvas' two time...
0 1175 posted 14 years ago by volvis
1 ... 6 7 8 9 10 ... 33