title: How to set value of <input type="hidden"> in asp .net page_load without using runat="server"
body: <p>i need to do the following two things... </p>
  
  <ol>
  <li>i want to set value of  in asp .net page_load. the problem is that i dont want to use runat="server". i have tried this the following but it does not work: </li>
  </ol>
  
  <p>HtmlInputHidden hiddenControl = (HtmlInputHidden) FindControl("a"); </p>
  
  <p>is there a way to access  in asp .net page_load without using runat="server"? ? ?</p>
  
  <ol start="2">
  <li>i can do this if i use  but in this case i cannot access it in master page's javascript function. i have tried this but it does not work... 
  
  <ul>
  <li>var hdnField = document.getElementById('&lt;%= hdnIdentity.ClientId%>');</li>
  <li>var hdnField = document.getElementById("hdnIdentity").getAttribute("value");</li>
  <li>var hdnField = document.getElementById("hdnIdentity").value </li>
  </ul></li>
  </ol>
  
  <p>what i need... i want to access content page's hidden field value in javascript in master page. is there a way ? ? ? thnx in advance regards Haroon haroon426@yahoo.com</p>