Originally Posted by Old Pedant
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
var btn = document.createElement("button");
or am I looking at the wrong bit of code?