Improve your JavaScript code.
Published by Zaheer
Christian Heilmann compiled a list of seven rules for unobtrusive JavaScript.
I think it is a must read for beginner JavaScript developers. Even if you are a highly experienced JavaScript developer this article may give you few tips to improve. To me the most important rule is this article is the first one, “Do not make any assumptions”. I have learned this the hard way. Don’t assume that if it works in one browser the code will work just as well in all other browsers. Even more important, do not assume that every user will have JavaScript enabled. I recommend that you read the full article and try to follow the tips.
The seven rules of unobtrusive JavaScript
If you enjoyed this post, make sure you subscribe to my RSS feed!
Nov 19, 2007
Filed under: Javascript
Tags: JavaScript best practices, JavaScript rules, Unobtrusive JavaScript
Related Posts:
Create awesome 3D photo gallery with TiltViewer Validate U.S Phone Numbers using JavaScript Regular expression. Validate Zip code using JavaScript Regular expression More JavaScript Regular Expressions Validate email address using JavaScript regular expression
fool:
this commentforum is very buggy
Posted on June 29th, 2008 at 12:51 am