I need to clone a table row, and have run into the IE6 clone(true) bug
using jQuery 1.2.2.
I can't upgrade to jQuery 1.2.3 just yet, so I'm wondering what the
simplest workaround is?

I simply want to duplicate the last row of a table. I was using the
following:

$('#addRow')
                .livequery('click', function(event) {

                        var row = $('#contractDetails tbody tr:last');
                        $(row).clone(true).insertAfter(row).toggleClass('alt');
                });

works great in FF, etc. Throws an error in IE6

Thanks,
rolf

Reply via email to