Archive for the ‘add events to dom’ Category

JavaScript Refactoring Techniques: Specific to Generic Code

Posted on: No Comments
In a recent thread on SitePoint's forums, some code was given to let one dropdown box control when another dropdown box is visible. Even though the code worked just fine, I realized that it left much to be desired. It was brittle and incapable of withs...