I have developed a hierarchical tree structure on an HTML page where users can customize a company's organizational chart based on their needs. However, I am looking to store this structured data in local storage so that it can be utilized on another HTML page to recreate the same organizational chart.
Here is the HTML code:
<ul class="isParent" id="backend" onclick="myFunction(event)">
(HTML code continues...)
Is there a way to save this created data into local storage and replicate the HTML structure onto another section of an HTML page?