Improve your JavaScript code.

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