I am having a problem using the clone function in jQuery. I was able to clone the table header (first row). But I also need to remove the first element from the string (th), I have tried many things, but continue to fail, here is one of my attempts:
$('.teamStatusTable tr:first:not("th:first-child")').clone().prependTo($('#tableTrackActual'));
Does anyone know a method that works?
source
share