Welcome To Snipplr


Everyone's Recent JavaScript Snippets



1 ... 15 16 17 18 19 ... 65
Verifica si el usuario es fans de la pagina o no.
0 1171 posted 14 years ago by serialk89
0 1176 posted 14 years ago by ronal
Translate dates in french in JavaScript
0 1690 posted 14 years ago by jbernus
Removes the html tags in the string in javascript.
1 1346 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 1447 posted 14 years ago by punuhan
0 1110 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 2700 posted 14 years ago by iammikecohen
Convert number of seconds to HH:MM
0 1025 posted 14 years ago by odavy
0 2259 posted 14 years ago by devnull69
See https://github.com/clemens/i18n_demo_app/blob/master/config/locales/de.yml for the source of the month names etc.
1 1252 posted 14 years ago by riddla
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 1414 posted 14 years ago by anagaiyahoocom
0 948 posted 14 years ago by werm
0 1254 posted 14 years ago by devnull69
I love this script. It's perfect for anyone trying to transforms headlines into some sort of Title Case format without using CSS
0 1429 posted 14 years ago by chrisaiv
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 1183 posted 14 years ago by inreflection7
0 1444 posted 14 years ago by vagrantradio
This will detect if console.log is available in browser and display the message. Otherwise will display as alert message
0 1207 posted 14 years ago by anagaiyahoocom
This snippet lets you call a Javascript function declared within an IFrame from the parent element of the IFrame
0 3087 posted 14 years ago by alexscript
you need jQuery already loaded for this to work
0 1248 posted 14 years ago by studioevoque
0 2315 posted 14 years ago by rod
0 1156 posted 14 years ago by drifterz28
A tiny snippet on how to easily detect iPad/iPhone/iPod using javascript.
1 1183 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 1142 posted 14 years ago by tomasdev
1 ... 15 16 17 18 19 ... 65