How to unchecked a radio button using JavaScript/jQuery? Last Updated : 31 May, 2023 Comments Improve Suggest changes Like Article Like Report In order to uncheck a radio button, there are a lot of methods available, but we are going to see the most preferred methods. In HTML, we can create radio buttons using the same name attribute, and by setting a unique value for each radio button within the group. Only one radio button within the group can be selected at a time. Methods for unchecking the radio button: Javascript checked propertyjQuery prop() method Example 1: This example unchecks the radio button by using Javascript checked property. The JavaScript Radio checked property is used to set or return the checked state of an Input Radio Button. This property is used to reflect the HTML-checked attribute. html <!DOCTYPE html> <html lang="en"> <body> <h1 style="color:green;"> GeeksForGeeks </h1> <input id="radio" type="radio" name="GFG" value="GeeksForGeeks" checked>GFG <br><br> <button onclick="gfg_Run()"> uncheck </button> <p id="GFG_DOWN" style="color:green;font-size:20px;"> </p> <script> let el_down = document.getElementById("GFG_DOWN"); function gfg_Run() { let radioButton = document.getElementById("radio"); radioButton.checked = false; el_down.innerHTML = "Unchecked"; } </script> </body> </html> Output: How to unchecked a radio button using JavaScript/jQuery? Example 2: This example unchecks the radio button by using jQuery prop() method. The prop() method in jQuery which is used to set or return the properties and values for the selected elements. html <!DOCTYPE html> <html lang="en"> <body> <script src= "https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"> </script> <h1 style="color:green;"> GeeksForGeeks </h1> <input id="radio" type="radio" name="GFG" value="GeeksForGeeks" checked>GFG <br><br> <button onclick="gfg_Run()"> uncheck </button> <p id="GFG_DOWN" style="color:green;font-size:20px;"> </p> <script> let el_down = document.getElementById("GFG_DOWN"); function gfg_Run() { $("#radio").prop("checked", false); el_down.innerHTML = "Unchecked"; } </script> </body> </html> Output: How to unchecked a radio button using JavaScript/jQuery? Comment More infoAdvertise with us Next Article How to unchecked a radio button using JavaScript/jQuery? P PranchalKatiyar Follow Improve Article Tags : JavaScript Web Technologies JQuery JavaScript-Questions jQuery-Questions +1 More Similar Reads How to disable radio button using JavaScript ? Radio buttons let users select one option from many, commonly used in forms. Sometimes, based on a user's previous choice, certain options need to be disabled. For example, if a user selects "No" to playing games, we can disable related game options. Using JavaScript, about 65% of forms use such log 4 min read How to Check/Uncheck the checkbox using JavaScript ? To check and uncheck the checkbox using JavaScript we can use the onclick event to toggle the checkbox value. We can also check or uncheck all the checkboxes on loading the webpage using JavaScript onload function.In this article, we will learn how to check/uncheck the checkbox using JavaScript. As 3 min read How to make a Themed Radio Button using jQuery Mobile ? jQuery Mobile is a web based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be creating a Themed Radio Button using jQuery Mobile. Approach: Add jQuery Mobile scripts needed for your project. <link rel=âstylesheet 1 min read How to get value of selected radio button using JavaScript ? To get the value of the selected radio button, a user-defined function can be created that gets all the radio buttons with the name attribute and finds the radio button selected using the checked property. The checked property returns True if the radio button is selected and False otherwise. If ther 2 min read How to know which radio button is selected using jQuery? To check which radio button is selected in a form, we first get the desired input group with the type of input as an option and then the value of this selection can then be accessed by the val() method. This returns the name of the option that is currently selected. The selector 'input[name=option]: 2 min read How to Disable Specific Readio Button Option using JavaScript? In this article, we will disable a specific radio button using JavaScript. Disabling specific radio button options using JavaScript involves targeting the specific option and then set its disabled property to true. This can be done by selecting the radio button option and modifying its disabled prop 2 min read How to check a radio button with jQuery? There are two methods by which one can dynamically change the currently selected radio button by changing the checked property of the input type. Method 1: Using prop method: The input can be accessed and its property can be set by using the prop method. This method manipulates the 'checked' propert 3 min read How to check whether a radio button is selected with JavaScript ? Here are the different methods used to check the radio button is selected:1. Using Input Radio checked propertyThe checked property in JavaScript checks if a radio button is selected. By using document.getElementById or querySelector to get the radio button, the checked property returns true if the 3 min read How to make a Icon position Radio Button using jQuery Mobile ? jQuery Mobile is a web based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be creating a Icon position Radio Button using jQuery Mobile. Approach: Add jQuery Mobile scripts needed for your project. <link rel=âsty 1 min read How to make a Mini size Radio Button using jQuery Mobile ? jQuery Mobile is a web-based technology used to make responsive content that can be accessed on all smartphones, tablets and desktops. In this article, we will be creating a Mini size Radio Button using jQuery Mobile. Approach: Add jQuery Mobile scripts needed for your project. <link rel=âstylesh 1 min read Like