104
rated 0 times
[
111]
[
7]
/ answers: 1 / hits: 15398
/ 16 Years ago, wed, february 18, 2009, 12:00:00
I have a textbox control Super1 in my MasterPage.
I am using javascript to access this control from my content page like this:
<asp:Content ID=ContentPage ContentPlaceHolderID=ContentPlaceHolder1 Runat=Server>
<script type=text/javascript>
function Somethin() {
{
document.forms[0].elements['Super1'].value = sdfsd;
//document.getElementById('<%=Super1.ClientID%>').value = sdfsdf;
}
}
</script>
</asp:Content>
But while page load it says Super1 not found. How can I access Super1?
More From » asp.net