javascript - Create element by dom but not submit in php form -
i creating form fields through dom inner html, when submitting form created fields not submit.. please tell me idea how can handle ... know why not showing ...
var count = 7; $('#tbl_new_product tr:nth-last-child(2)').after( '<tr id="">' + '<td>' + '<b class="text-success">' + $('#create_row_title_id').val() + '</b>' + '<input type="hidden" id="create_row_label_' + count + '" name="create_row_label_' + count + '" value="' + $('#create_row_title_id').val() + '">' + '</td>' + '<td class="center">' + '<div class="form-group has-success has-feedback">' + '<input type="text" spellcheck="true" class="form-control" id="create_row_field_' + count + '" name="create_row_field_' + count + '" placeholder="' + $('#create_row_title_id').val() + '">' + '</div>' + '</td>' + '</tr>' );
Comments
Post a Comment