Roarmapeelodo
New Member
I have a box on ascx page named \[code\]TextBox1.Text\[/code\].I want to set some script which detect the value and if it equals to 10 than show alert.My script is on my aspx page and I have put the reference of ascx page on aspx page.It is not recognizing the textbox and show error I am trying to get the entered value like this on client side:\[code\]function findvalue(){ var enteredvalue= http://stackoverflow.com/questions/14442764/<%=TextBox1%>.value; if (enteredvalue==10) { alert("10"); }}\[/code\]