An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Hi @Analyst_SQL ,
The DataInsert table should contain the <td> itself, then add the <td> when adding rows. So row.find("TD").eq(0).html() gets two <td> s.
This might be the reason for inserting twice.
You can remove the <td> in the DataInsert table itself or change it to a <th>.
If it still doesn't work, I suggest you provide the code of view and tbl_PckDetail()
so that we can reproduce your problem and help you solve it better.
Best regards,
Lan Huang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.