how to assign an value from javascript variable to hidden field
<pre><code>  &lt;script type="text/javascript" language="javascript"&gt;   
     function(sender, e)   
  {   var **Sessioninfo**= $get('&lt;%= ((Hiddenfield)this.Master.FindControl("ct100_hfSession")).ClientID %&gt;');  
} 
       &lt;/script&gt;
</code></pre>

<p>here  from my master page hiiden  field i am getting the value in  <strong>Sessioninfo</strong></p>

<p>now in child page i have  another hidden field called <strong>hfchildpage</strong>
 now i need  to  assign the Sessioninfo. value  to  hfchildpage</p>

<p>can u plz  provide the  syntax  for it 
 thank  you</p>
