javascript - validation of radio buttons using groupname -


i have got radiobuttons , put them under group name "membership". can use groupname know whether atleast 1 of radiobutton checked on submit button click?. dont have form name have used master pages.i want reduce number of lines of code. want know if possible. small clue how implement help. thanks

why don't use radiobuttonlist?

<asp:radiobuttonlist id="rbltest" runat="server" repeatlayout="table" repeatcolumns = "3">     <asp:listitem text="test1"></asp:listitem>     <asp:listitem text="test2"></asp:listitem> </asp:radiobuttonlist> 

Comments

Popular posts from this blog

visual studio - vb.net filter binding source by time -

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -