JQuery Tips For Developers
- Load the framework from Google Code
- Use data method and avoid storing data inside the DOM. Some developers have a habit of storing data in the HTML attributes
- Use Cheat Sheets
- Compress Javascript files
- Use Firebug
- Use ID as Selector whenever possible
- Use Tags Before Classes
- Cache jQuery Objects
- Bind certain jQuery functions to $(window).load event
- Use Chaining to limit selectors, make the code more simple and elegant
The complete article can be found in Tripwire Magazine.