Unobtrusive Javascript

Unobtrusive Javascript - An excellent refresher course for the changing times and browsers.

It starts with some basic advice:

1. Never, under any circumstances add Javascript directly to the document.

2. Javascript is an enhancement, not a secure functionality

3. Check the availability of an object before accessing it

4. Create Javascript, not browser specific dialects

5. Don't hijack other script's variables

6. Keep effects mouse independent

Comments