<div id="layer1" property1="hi"> </div>
How do i get this value with javascript? I've tried to return the value using something like this:
document.getElementById('layer1').property1
But this returns undefined.. any ideas?