Get z-index value

admin

Administrator
Staff member
Since this works:
document.getElementById('myLayer').style.left

I thought this would work:
document.getElementById('myLayer').style.z-index

But it doesn't. How can I get the z-index?

Regards,
// Michelle
 
Back
Top