mercredi 30 octobre 2019

Uncaught SyntaxError: Invalid or unexpected token duplicated

$('#add').click(function () {
      i++;

      // add to button Add to append more input field
      $('#dynamic_field').append(''+
      '<tr id="row'+i+
      '"class="dynamic_added"><td><input type="text" name="title[]" 
        placeholder="Masukan Teks Informasi" class="form-control"></td>' + 
      '<td><button type="button" name="remove" id="' +i+ '" class="btn 
        btn-danger btn_remove">X</button></td>' + 
      '</tr>');
   });

i have a problems with this code:

'"class="dynamic_added"><td><input type="text" name="title[]" 

i dont know what the erros in that line



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2N0IvPI
via IFTTT

Aucun commentaire:

Enregistrer un commentaire