title: cannot get value using javascript
body: <p>I have hidden field to store the value and bind the value in javascript aswell, and now it pops a problem as my server doesnt support 4.0 either its in 3.5 so it doesnt support ClientIDmode property , please find code below</p>
  
  <pre><code>&lt;asp:HiddenField ID ="lbl1" ClientIDMode="Static" runat="server"&gt;&lt;/asp:HiddenField&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>function sourceval() {
           var src1 = window.document.getElementById('lbl1').value;           
      }
  </code></pre>
  
  <p>if i use literal it has visibility property where the rendering of the page would be problem , please suggest.</p>