Setting the type
attribute of an input
element to button
via setAttribute('type', 'button')
does not work in Internet Explorer 6 or Opera 8.51. The bug is fixed in Opera 9 technology preview 1.
Test page Workaround is included
Reported by: Stijn Peeters.
Explorer 5-6 Windows, Explorer 7 beta, Explorer Mac, Opera | Reported on 2 January 2006.
This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.
Main navigation:
Search reports by browser:
2 Posted by Tom on 8 February 2006
I have posted a more robust workaround at http://alt-tag.com/blog/archives/2006/02/ie-dom-bugs/
Commenting guidelines:
1 Posted by Stijn Peeters on 4 January 2006
I noticed clicking an input field which was changed from [something] to "button" actually crashes Opera 8.52 :-/