TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kanaparthi Sureshma Reddy
NA
85
38.8k
How to write Jquery validation for Radiobutton in asp.net?
Jul 1 2015 8:32 AM
Hi,
I have taken two radio buttons in my asp.net webform like below,
<asp:RadioButton ID="rbmale" runat="server" Text="Male" GroupName="rb" style= "height:120px ; width:120px"/>
<br />
<asp:RadioButton ID="rbfemale" runat="server" Text="FeMale" GroupName="rb" style= "height:120px ; width:120px" />
in my script i wrote this,
<script type="text/ javascript" language="javascript"
var rbmale = $('[id*="rbmale"]').val();
var rbfemale = $('[id*="rbfemale"]').val();
if()
{
//what should I write in this?
}
<script/>
Please help me in this code..
Reply
Answers (
7
)
insert data from multiple textboxes to sql using jquery c#
How to write validation for Range in asp.net using jQuery ?