vendredi 1 mars 2019

pass checkbox value from html to another html page

I am trying to pass checkbox array value from HTML to another HTML page after the user submit the form or by click button and the value I take it from server

     for (x in response) {


  txt += "<tr><td>" + response[x].Name + "</td>><td><input name='list' type='checkbox' id='"+response[x].ID+" value='"+response[x].ID+"'></td></tr>";
     }

     txt += "</tbody>" ;
  n.innerHTML = txt;

is that possible ?




Aucun commentaire:

Enregistrer un commentaire