[jQuery] name attribute gets removed from inputs in IE7
Test case:
$(
function()
{
var action = $("<input type=hidden>").attr(
{
"name": "action",
"value": "delete"
});
alert(action[0].name); // name seems to be added fine
alert($("<form>").append(action).html()); // where has name gone?
}
)
The first alert shows that name has been set, but when I get the html
it is not there. Happens in 1.0.3 (and did in 1.0.2)
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/