Did you know that you can use localStorage to store JSON objects and arrays? Many times you will need quick access to these items and you shouldn’t have to duplicate…
List of useful Javascript Libraries
Here is a great list of libraries that can be used in applications. http://coding.smashingmagazine.com/2009/03/02/40-stand-alone-javascript-libraries-for-specific-purposes/
JavaScript based conditionals for scripts and content
This little script wields a lot of power. The ability to control scripts and content is possible based on browser and other user attributes. There are so many uses for…
A useful lightweight URL parser
I cant express how handy this little javascript is. If you ever need to parse a URL and get something out of it, this is a groovy little script that…
UNIX Timestamps and FLOT (using date.js)
Implementing FLOT charting into a project is easy and very customizable. Ive been using FLOT for a while and you can extend it to do just about anything you need…
Templating, JavaScript and Moustache.js
The ability to “templatize” HTML using javaScript isn’t a new concept but with mustache.js it is getting easier and more streamlined. Inside of the core, there are lots of functions…
Prototyping function to add commas to numbers
Thanks to my predecessor Mike Grace for this helpful little script. It extends javascript to add the correct comma places to any number. Number.prototype.addCommas = function() { var nStr =…