Children("tr:last")

addNewRow()
alert(“ok”);
var tr = $("#invoice_item").children(“tr:last”)
var col = row.find(".qty").select();

Dear Sir
The above code for append new row to tbody by function “addNewRow()” after that I need to move the cursor to a new row

My code is working but if the removed alert(“ok”); the cursor will be in old row not on new row.

Please help

Sponsor our Newsletter | Privacy Policy | Terms of Service