Get a control's value that is in usercontrol using javascript
<p>I have a user control that i have registered to an aspx page. Now from the aspx page, i am trying to access one of the registered usercontrol's hiddenfield value in my aspx page using javacript using the below code:</p>

<p>tst = document.getElementById('control1$hdnField').value;</p>

<p>I looked into the page's trace, and i could see 'control1$hdnField'. Then why i am not getting its value in my aspx page. I have also ensured that the hidden field exits on the user control and has a default value set.</p>

<p>Please help.</p>
