Copy the selected row and append to table by using fnAddTr plug-in
Copy the selected row and append to table by using fnAddTr plug-in
zeroxiong
Posts: 1Questions: 0Answers: 0
I receive the error: nTr.getElementsByTagName is not a function
code as blow:
[code]
var nTr = oTable.fnGetNodes(0);
oTable.fnAddTr(nTr);
[/code]
I also tried:
[code]
var nTr = oTable.fnGetNodes(0);
oTable.fnAddTr($(nTr));
[/code]
andalso:
[code]
var nTr = oTable.fnGetNodes(0);
oTable.fnAddTr($(nTr)[0]);
[/code]
all will receive the error message. please kindly help.
code as blow:
[code]
var nTr = oTable.fnGetNodes(0);
oTable.fnAddTr(nTr);
[/code]
I also tried:
[code]
var nTr = oTable.fnGetNodes(0);
oTable.fnAddTr($(nTr));
[/code]
andalso:
[code]
var nTr = oTable.fnGetNodes(0);
oTable.fnAddTr($(nTr)[0]);
[/code]
all will receive the error message. please kindly help.
This discussion has been closed.
Replies
Allan