There are plenty of occasions when coding JavaScript events where you simply need to call a function, for which an entire event registration model is too lengthy. The most commonly used method is to bind your event to an anchor link. The user clicks and the onclick event is fired, calling a reference to a function. Because the user isn’t actually visiting a URL, something has to be done with the href attribute.
Reindel, Brian. d'bug (2008). Articles>Web Design>Standards>JavaScript
The Seven Rules of Unobtrusive JavaScript
I've found the following rules over the years developing, teaching and implementing JavaScript in an unobtrusive manner. They have specifically been the outline of a workshop on unobtrusive JavaScript for the Paris Web conference 2007 in Paris, France.I hope that they help you understand a bit why it is a good idea to plan and execute your JavaScript in this way. It has helped me deliver products faster, with much higher quality and a lot easier maintenance.
Heilmann, Christian. Opera (2008). Articles>Web Design>Standards>JavaScript
jQuery and JavaScript Coding: Examples and Best Practices
When used correctly, jQuery can help you make your website more interactive, interesting and exciting. This article will share some best practices and examples for using the popular JavaScript framework to create unobtrusive, accessible DOM scripting effects. The article will explore what constitutes best practices with regard to Javascript and, furthermore, why jQuery is a good choice of a framework to implement best practices.
Smashing (2008). Articles>Web Design>Standards>JavaScript
There are 11 readers currently online: 1 registered user and 10 guests. Register.

![]()
![]()


![]()
![]()
![]()