>  I've tried it on several machines in IE 6 as well as 7 and it is
> still an issue. Can anyone replicate this with their copies of IE?
>
> Filed it as a bug otherwise I may have to resort to doing things
> the old fashioned way document.write(<form name='...'
> action='...'><input.....
> http://jquery.com/dev/bugs/bug/408/

It happens for me in IE as well. Notice that this fails the same way in IE,
with no jQuery in sight:

var e = document.createElement("input");
e.type = "hidden";
e.name = "testing";
e.value = "123";
alert(e.outerHTML);   // no name?

There are several related problems in both IE and Firefox related to
dynamically added attributes on input elements. There was one posted a few
weeks back where Firefox used the default rather than dynamic values for
input fields when they were copied. I think they are all browser bugs. It
would seem to be very messy to try and clear these up with special cases
inside jQuery.



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to