View Single Post
Old 02-28-2013, 08:30 PM   PM User | #17
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 453 Times in 451 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
Quote:
Originally Posted by Old Pedant View Post
Older MSIE doesn't allow you to add a type to an <input> created via document.createElement in the manner done here.
just curious... wouldn't the way around that be

Code:
var btn = document.createElement("button");
//etc
or am I looking at the wrong bit of code?
xelawho is offline   Reply With Quote