←
^
→
JavaScript in the Browser
Modifying Attributes
Just use
setAttribute
document.getElementById('item').setAttribute('style','color:red')
José M. Vidal
.
31 of 66