Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged javascript
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Format a date into a string using several string variables.
Usage:
(new Date("6/6/2011")).format("%W, %B %d%o, %Y");
Result:
Monday, June 6th, 2011
0
1050
posted 13 years ago by wizard04
Este es un programa que los puntajes y las calificaciones correspondientes a dicho puntaje.
0
502
posted 13 years ago by AgustinAlvia
Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
0
1315
posted 13 years ago by rumremix
Calculating Compound Interest. Real time [Compound Interest Calculator](http://ncalculators.com/interest/compound-interest-calculator.htm "Real time result")
0
460
posted 13 years ago by vinotht
Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.
0
753
posted 13 years ago by alvincrespo
Replace English numbers with Arabic numbers in browsers supporting Unicode & JavaScript.
Credits to
http://www.swalif.net/softs/swalif54/softs232281/
0
2355
posted 13 years ago by mooparmghor
JavaScript
Simple Math Captcha-like verification JavaScript script that uses jQuery (form) validation plugin
Don't forget to include jQuery validation plugin before this snippet. You can find it here:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
0
1281
posted 13 years ago by racl101
Brilliant solution using Object.prototype.toString()
Test cases included (commented out)
0
694
posted 13 years ago by wizard04