Posts Tagged ‘dojo.style’

DOM Attributes and The Dojo Toolkit 1.2

Thursday, October 23rd, 2008

The Dojo Toolkit 1.2 has landed and I’ll be talking about a new feature — dojo.attr — and its closely related cousin, dojo.style. In a given block of HTML, not all attributes are created equally. Take the following example:

<div id="testDiv"
        tabindex=‘1"
        onmouseover="onOver();"
        name="nameAtt"
        style="background:#ffff00;">

New Content
</div>

(more…)