I'm doing some attribute parsing as a string, so I need to know how spaces are used in HTML/XHTML element attributes:
<div id='myid' width='150px' />
Is this also correct?
<div id = 'myid' width = '150px' />
If anyone knows other ways of iterating through attributes and their values using JavaScript, I'd be interested to know.