Hi.
In my Solution i have master page and content pages.Content page contains 1 hiddent field.i want to retrieve my hiddenfield which contain in content page from masterpage using javascript.how can i get the hiddenfield value...
Thanks in advance....
Javascript
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

CrishRank #1,487 · 1.1K reputationPosted May 27, 2010, 1:41 AM EDT
you can get value from your hidden textbox using javascript. use below code..
document.getElementById("<%=hiddenfiledID.ClientID%>").value
thanks
Don't forget to Mark Do you like this Answer
Dipa AhujaRank #1,168 · 1.5K reputationPosted May 26, 2010, 10:28 PM EDT
<script type="text/javascript">
function getValue(){
alert(document.getElementById('Hidden1').value);}
script>
Deepthi Aravind53 reputationPosted May 26, 2010, 10:58 PM EDT
iam not getting the alert...Is Hidden1 is in your contentpage..