I have a table where I add rows on button click. But I am not able to detect input from the added rows. Would appreciate some advice. I tried the other resolutions on the site but I guess I am doing something wrong. On button click, I have the following happen in jquery
$("#addrow").on("click", function () {
    var newRow = $("<tr>");
    var cols = "";
    cols += '<td><input type="text" class="ns form-control" id="serial' + counter + '"/><ul id="suggestions' + counter + '"</ul></td>';
    cols += '<td><input type="text" disabled class="nl custom-select mr-sm-2" id="location' + counter + '"/></td>';
    cols += '<td><input type="text" readonly class="nw form-control" id="ward' + counter + '"/></td>';
    cols += '<td><input type="button" class="ibtnDel btn btn-md btn-danger " id="btndelete" value="Delete"></td>';
    cols += '<td><input type="button" class="ibtnChekout btn btn-md btn-warning "  id="btnCheckOut" value="Check-out"></td>';
    cols += '<td><input type="button" class="ibtnChekIn btn btn-md btn-primary "  id="btnCheckIn" value="Check-in"></td>';
    newRow.append(cols);
    $("table.order-list").append(newRow);
    counter++;
});
so my new row will have id=serial1 and keep adding. I want to detect user input on the additional rows[serial1, serial2, serial3].
 
     
    