a guest Jun 20th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function myFunction() {
  2.       var table = document.getElementById("myTable");
  3.       var row = table.insertRow(3);
  4.       var cell1 = row.insertCell(0);
  5.       var cell2 = row.insertCell(1);
  6.       cell1.innerHTML = "NEW CELL1";
  7.       cell2.innerHTML = "NEW CELL2";
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand