Possible IE clone() bug
Possible IE clone() bug
Hi all,
Firstly, thanks for producing such a great library - has halved the
development time and previous code in my project :)
I've run across a small problem in IE 6.0 under Win XP which I can't
find mentioned elsewhere. The snippet of code I'm using is:
$("#dstbl tr:last").clone(true).appendTo("#dstbl");
to replicate the last row in a table. This works fine in Firefox
2.0.0.11, however IE reports a Javascript error: 'nodeType' is null or
not an object when this function fires. The line number on which the
error is reported appears to be the same if I separate out the
appendTo() call (using a temporary variable to hold the clone'd
element).
This is testing with jQuery 1.2.2 and also 1.2.3-pre.
Has anyone else experienced this? I'll report it via Trac if it looks
like an actual bug.
Thanks in advance :)
Rich.