[jQuery] jQuery buggy in IE7

[jQuery] jQuery buggy in IE7

<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">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</div>
</body></html>_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/