Ожидаемый код
Код: Выделить всё
Total Seats
Код: Выделить всё
Full Name
Mobile
Email
City
State
// if total_seat_numbers = 1
// if total_seat_numbers = 2
/// ----- like this so on as per total number of `total_seat_numbers`....
Код: Выделить всё
$("#total_seat_numbers").change(function(){
var html_row = '';
var max = $("#total_seat_numbers").val();
var x = 1;
if(x
Подробнее здесь: [url]https://stackoverflow.com/questions/79116562/auto-populate-table-rows-with-input-fields-after-change-the-input-value-of-one-f[/url]
Мобильная версия