I think writing your own code is a good idea, but since there are so many libraries out there that do these things, i think using them is equally as good if not better. There is a minimalistic library out there that just came out not too long ago called YourJS. It provides this functionality in a way as well: http://yourjs.com/snippets/56
I think writing your own code is a good idea, but since there are so many libraries out there that do these things, i think using them is equally as good if not better. There is a minimalistic library out there that just came out not too long ago called YourJS. It provides this functionality in a way as well: http://yourjs.com/snippets/56