Discovered something and am looking into a bit of incite as to why one way works and the other doesn\'t. Looks to be only an IE7 thing but as IE7, sigh, still needs some su
according to jQuery:
Note: Internet Explorer will not allow you to create an input or button element and change its type; you must specify the type
this doesn't work:
$('', { type: 'text', name: 'test' }).appendTo("body");
but this does:
$('').attr({ name: 'test' }).appendTo("body");