I am trying to add rows to my repeater using jQuery using below script.It is working perfect in IE, but not in Firefox, Chrome and Safari.
looks like issue with using of outerHTML. Can someone help me?
function AddRowToTable(table) {
var newRow1 = $(table.rows[table.rows.length - 2].outerHTML);
var myRow = $(table.rows[table.rows.length - 2]);
$(myRow).after(newRow1);
}