Answer the question
In order to leave comments, you need to log in
How to move a row to the beginning of tbody?
We need to move the row to the beginning of tbody. I did this, but then parentNode is not inherited, etc. Can this be done in another way?
var node=row.cloneNode(true);
row.parentNode.insertBefore(node,row.parentNode.rows[0]);
row.parentNode.removeChild(row);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question