I am trying to hide the dive using style property of div i.e.
<div id="<%=divCount%>" style="display: block" hidden>
But it is not working.
And I am also writing a script in the head for hiding/showing divs. It is also not working
<script type="text/javascript"> function showAccount(divId){ document.getElementById(divId.value).style.display = "none"; echo divId.value; }
How Do I fix it? `