Cleaning your markup with dojo.behavior
CSS separates our formatting from our content. But we’re still left with onclick="..." attributes sprinkled throughout our otherwise pristine markup - not exactly “unobtrusive Javascript”. Dojo.behavior comes to the rescue, providing a nice separation between our content and the code associated with it.
Date added: March 26th, 2008 | Author: Robert Coup
