Currently using Aspnet, I find myself in need of generating an undetermined number of labels for a specific page. A button triggers a function that dynamically creates a label through JavaScript:
<script type="text/javascript"> function create() { var newlabel = document.createElement("box1"); ... document.getElementById("MainContent_revenuestreams").appendChild(newlabel); } </script>
The issue arises when the newly created label only appears on the webpage for a brief 2-3 seconds before disappearing (likely due to postback eliminating its content).
I am seeking guidance on how to prevent this from happening.