I am getting a value by using document.getElementById("forloop").innerHtml. And I am displaying that value in the file with some div id as
<div id="forloop"></div>.
But I want to assign that value to a variable in the file. Can you please how can I assign to the variable?