how to access generated groupname for asp radiobutton
- by rap-uvic
Hi,
I need to access radiobutton groupname in my jquery. However, groupname that's rendered for an asp radiobutton is kind of different. Example:
<asp:RadioButton runat="server" GroupName="payment" ID="creditcard" Checked="true" value="creditcard" />
will generate:
<input type="radio" checked="checked" value="creditcard" name="ctl00$ContentPlaceHolder1$payment" id="ctl00_ContentPlaceHolder1_creditcard">
I can't work with <%=creditcard.GroupName% in jquery. Is there a way I can get the generated groupname or name for it?