Any way, use setAttribute() more safe than direct assignment, in this case.
Even jQuery warn about such problem http://api.jquery.com/prop/ :
Attempting to change the type property (or attribute) of an input element created via HTML or already in an HTML document will result in an error being thrown by Internet Explorer 6, 7, or 8.
So if for @waader this patch still work then I would count it as success test
Fix worked in IE8 Emulation mode!
for the next tester not knowing how to emulate IE8, here is the documentation https://msdn.microsoft.com/en-us/library/dn255001(v=vs.85).aspx
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7468.