Problem with document.getElementById(id).value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phub11
    New Member
    • Feb 2008
    • 127

    #16
    Just a quick not to say the above is NOT compatible with IE5. Instead use:

    Code:
    document.onmouseover = function(e){
    e = e || window.event;
    targ = e.target || e.srcElement;
    currcoords = targ.id;
    alert(currcoords);
    }
    Thanks!

    Comment

    Working...