< asp:textbox id = "Txtuserid" runat = "Server" ></ asp:textbox > 1. $ ("# <% = txtuserid.clientid %>
eg:<Scripttype= "Text/javascript">$ (document). Ready (function () { $("#CheckBox1"). Click (function () { if ($("#CheckBox1"). Is (": Checked")) { $("#<%=imagebutton1.clientid%>"). Removeattr ("Disabled"); } Else $("#<%=imagebutton1.clientid%>"). attr ("Disabled", true); }); });</Script>
<Liclass= "Clearfloat"> <Divclass= "Left Set_tip_width reg_font_title3"> Terms of service:</Div> <Divclass= "Left Reg_font_title4"> <Div> <inputID= "CheckBox1"type= "checkbox"checked= "Checked" />I have read and agree<ahref= "Rule.aspx"Target= "_blank">Member Registration Agreement</a> </Div> </Div> </Li>
<Divclass= "Clearfloat t_center"style= "margin:10px 0 20px 0;"> <Asp:buttonID= "ImageButton1"runat= "Server"OnClick= "Imagebutton1_click"OnClientClick= "return Checkrule ();"CssClass= "Mouse"width= "$"Height= "+"Text= "Register for Registration" /> </Div>