var myTable= document.getElementById('myTable'); myTable.innerHTML += myRecord;
Where variable myRecord contains the html code for the row to be appended, the html code is something like
<tr><td>my cell</td><td>my cell 2</td></tr>
The code works as expected and appends the rows to the table 'myTable'.
Kindly suggest how to dynamically add HTML content and make it persistent, so the dynamic HTML content don't disappear on page reloads. I know I could save it in local storage and retrieve it or try cookies or session, but its not feasible because the table will have a couple of thousand records or much more.
Was able to replicate save button using CoreInvoke('PageActionClick', this), but the save button default functionality toggles between save and edit, I only want the save functionality.
Some references I found online