5 Tips for Better jQuery Code
#1: Use data method instead of storing data inside the DOM.
#2: Take advantage of jQuery’s built-in custom selectors.
#3: If you are Manipulating the DOM a lot, use livequery.
#4: Use jQuery form plugin to submit files via Ajax.
#5: Use classes as flags.
Go here to read the complete post.
Post Tags: Javascript, jquery
Browse Timeline
Comments ( 1 Comment )
que added these pithy words on Nov 27 08 at 5:31 pmthat’s correct livequery is the trick when dealing with DOM on runtime, or on the fly
http://brandonaaron.net/docs/livequery/