Get radio button selected item via jQuery:

In this post, we will learn about how to Get radio button selected item via jQuery with an example.


In my previous posts I have explained various topics like Trigger a button click on enter key in a textbob, Multi Dimensional array in C#, Arrays In C#, Fill DropDownList from JSON Array using jQuery, Anonymous Types In C# ,Sealed Class in C#, Continue keyword in C#.Net, Difference between string and StringBuilder in C#, Difference between a struct and a class in C#, Boxing & Unboxing in C# ,Dynamic Type In C#, Named Arguments In C#.

Now in this post, I will explain Get radio button selected item via jQuery with appropriate example. You can get selected item of radiobutton using Jquery.

Now create Web form application in Visual Studio and write below lines of code in it.

<html xmlns="">
<head runat="server">
    <script type="text/javascript">
        $('#myForm input').on('change', function () {
            alert($('input[name=radioGender]:checked', '#myForm').val());
    <form id="myForm">
        <input type="radio" name="radioGender" value="1" />
        <br />
        <input type="radio" name="radioGender" value="2" />
        <br />

Read :


You can also read about ASP.NET, C#.Net, JQUERY, AJAX, JavaScript.
I hope you get an idea about Get radio button selected item via jQuery.
I would like to have feedback on my blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you liked this post, don’t forget to share this.

Leave a Reply

Your email address will not be published. Required fields are marked *

Name *
Email *