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.


Subscribe to comments Comment | Trackback |
Post Tags: ,

Browse Timeline


Comments ( 1 Comment )

that’s correct livequery is the trick when dealing with DOM on runtime, or on the fly
http://brandonaaron.net/docs/livequery/

que added these pithy words on Nov 27 08 at 5:31 pm

Add a Comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> <pre lang="" line="">


© Copyright 2007 eKini: Web Developer Blog . Thanks for visiting!