Unable to get a Hidden element in ASP.NET 4 from Javascript
<p>I need help to find a hidden button in Javascript. I am using ASP.NET 4.</p>

<p>I can find a <code>"visible = True"</code> but when i try to find a hidden element it says object not found</p>

<pre><code>    &lt;script type="text/javascript"&gt;
    function ShowAge() 
     {
    var elem = document.getElementById('MainContent_chbFilter');
        if (elem != null)
            alert("Found 1");
        else
            alert("Not Found 1");
    var elemc = document.getElementById('MainContent_txtMSISDN');
        if (elemc != null)
            alert("Found 4");
        else
            alert("Not Found 4");
    }
   &lt;/script&gt;
</code></pre>

<p>I am using <code>asp:content</code>
Please help</p>
