JavaScript test page: getAttribute

sample element

Back to JavaScript: Get a Element's Attribute/Properties