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 [email protected] http://jquery.com/discuss/
