I need some help figuring out how to write some jQuery code.
I need to clone a table dynamically onclick. but then I need to change the ids of the table and its chil
$("#table1").find(*)
should be
table.find("*")
$("#table1") will not return anything on that line of code as you have not yet added the table to the DOM. And * is a selector which should be a string.
$("#table1")
*