Friday, May 21, 2010

Useful jQuery Tips

Recently I have started playing around a bit with jQuery and find it quite amazing. To Quote straight from the jQuery site: jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript

In essence, what this means is that if you are not so good at understanding & writing complex JavaScript, use this wrapper/framework to simplify your coding life! This also implies that using jQuery could be slower than rolling your own library if your needs are limited and you can afford to dirty your hands with JavaScript.

But, since I had decided to play with and use jQuery anyways, I started to look around for good articles and found this very useful article by Jon Hobbs-Smith of TVI Design UK.

Here are a few useful cheat sheets:
The visually best one I felt is (a rather big one at 6 pages) JQuery 1.3 Cheat Sheet by Woorkup.
Another good one with nice details is jQuery Cheat Sheet by Matt Kruse - its available in various formats and for different versions as well!

Be sure to check the comments on these posts for other people's observations and also ensure that you use the cheat sheet appropriate for the version of jQuery you are using!

No comments:


Related Posts Plugin for WordPress, Blogger...