Search
Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts
Sunday, April 6, 2008
careful with javascript - [common mistakes in javascript]
some of the common mistakes that we make while writing script.
Use more "var"
Reduce scopes
Careful with DOM element concatenation
Avoid using your own method while there is one
Avoid using Array.length in a loop
Avoid String concatenation, use Array instead
Introduce function delegates
Introduce DOM elements and function caching
Problem with switch
http://www.codeproject.com/KB/ajax/AspNetAjaxBestPractices.aspx
Subscribe to:
Posts (Atom)
