hi
I have a Simple problem but i cannot able to find the solution.
Problem is I have a Label1 in my form and When i click the radio button i am changing the Lable1 value through Javascript. but this changed value does't not going to the Server side.. Why?
This is my Code
Code:<%@ Page Language="VB" %> <script runat="server"> Sub GoForm(s as Object,e as EventArgs) response.write (Label1.Text) response.end End Sub </script> <html> <body> <form runat="server"> <input onclick="Change()" type="radio" name="SelRadio"/> <asp:Label runat="server" id="Label1" Text="Label1"/> <asp:Button runat="server" Text="Button" onClick="GoForm" /> </form> <script language="javascript"> function Change() { document.all["Label1"].innerText ="Testing" document.all["Label1"].Text ="Testing" document.all["Label1"].value ="Testing" } </script> </body> </html>


Reply With Quote