dimanche 23 décembre 2018

how i can get value from column id to another page using javascript?

 $("#table1").append(
    "<tr><td id='keyId'>" +
      key +
      "</td><td>" +
      name +
      "</td><td>" +
      address +
      "</td><td><ul><li>" +
      foodName +
      "</li></ul></td><td>" +
      phone +
      "</td><td>" +
      total +
      "</td></tr>"
  );

This is the code of my index.js I want the value of key row when the button was clicked, that value will be used to give the details. I want to use that value in other javascript file or html file.




Aucun commentaire:

Enregistrer un commentaire