I am new to HTML and JS - so to learn I have been building a HTML page (saved in a .htm file in a shared drive which is accessible to my team). This page is basically a table of web links useful for new employees.
While the table of links is extensive, we need the ability to add new links when needed, so I have built in an AddToTable() function where users can add new links by adding to the table. (I guess I will address the deletion of a table item at a later date...)
The trouble is, because we load this page from a local shared drive, when a user adds to the table, that information never gets written to/saved in the .htm file.
In fact, the "new" information only appears in the underlying HTML if I save the page as "Web Page, complete".
Which brings me to my question: Is there JS I could append to my AddToTable() function that would
- Save page as "Web Page, complete" as the same file name of the source .htm file
- Reload the page from that "new" source .htm file
Thanks!