May 23, 2008
Posted by Eddie
Getting a button element’s value attribute (not innerHTML) in IE
After spending a small part of my evening debugging Javascript in IE (which is ALWAYS a pleasure), I found out one of my errors was a mistake I had made before… trying to access button.value in IE. IE, of course, being IE, returns the innerHTML value of the button, instead of the value attribute. Last […]