Clean Up Your Page, Removing Bad Behaviour
Clean Up Your Page, Removing Bad Behaviour
When developing websites, it’s good practice to separate behaviour (JavaScript) from structure and presentation using The Document Object Model (DOM). This indepth tutorial is all you’ll need in order to get a good understanding on how to do it.
Developing client side applications with a framework (jQuery, prototype, scriptaculous, etc.) is all of the rage these days but it is sometimes the overhead isn’t warranted.
This is a tutorial I wrote for The Web Squeeze that details how to remove client side code from the document.
To compliment the tutorial, I created a mini-site with examples and additional information.
View mini-site without JavaScript
View mini-site with JavaScript
Tags: JavaScript
