JavaScript and Hide div not working
<p>I am trying to hide the dive using style property of div i.e.</p>

<pre><code>    &lt;div id="&lt;%=divCount%&gt;" style="display: block" hidden&gt;
</code></pre>

<p>But it is not working.<br>
 And I am also writing a script in the head for hiding/showing divs. It is also not working</p>

<pre><code>&lt;script type="text/javascript"&gt; function showAccount(divId){    document.getElementById(divId.value).style.display = "none";    echo divId.value; }
</code></pre>

<p>How Do I fix it?
`</p>