Posts Tagged ‘behavior’

Read more

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.

Read the rest of this entry »