Have you tried it in IE 6? If I remember correctly, IE has issues
changing input types from one type to another - someone can correct me
on that if I'm mistaken.

--John

On 9/30/06, Joe <[EMAIL PROTECTED]> wrote:
>
> Has there been much testing with IE7 RC1? Some of the code I'm writing that
> uses a lot of slides, fades and cloning works fine simultaneously in
> FF1.5.0.7, Opera 9.0.2 and Safari 2.0.4 but breaks in IE7 RC1. I'm getting a
> "This command is not supported." in line 133. I'm not going to dump my
> source but here's some of the relevant code. It would seem IE7 doesn't like
> using attr to change type="submit" to type="button" of an input tag.
>
> var cloned =
> $("div#frmPostComment").clone().insertAfter(where).css("visibility","hidden");
> // clone the comment box, and put it here, hide it
>
> My line: 133 where attr is messing up IE7 ("This command is not
> supported."). Removing attr in the line below fixes the IE7 error. But my
> slides and css() aren't working.
> var btnCancel =
> $(cloned).find("input.frmSpace").clone().attr("type","button").val(langHash["cancel"]).insertAfter(btnSubmit);
> // clone the submit into a cancel button and place it beside
>
> I've tested the jq 1.0 build and the latest build. I get the same results.
>
> Joe

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to