Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to uncheck a radio button

//jQuery
$('input[name="radio"]').prop("checked", false);

//Vanilla JS
document.getElementById('radio-button').checked = false;
Comment

PREVIOUS NEXT
Code Example
Javascript :: return more than 1 value from function js 
Javascript :: js obj getting count of properties 
Javascript :: import all from javascript 
Javascript :: nodejs cors policy 
Javascript :: Internet Speed Checker JavaScript 
Javascript :: get file extension node 
Javascript :: json file with multiple records 
Javascript :: laravel data return in json 
Javascript :: javascript check if dom element 
Javascript :: install bcrypt 
Javascript :: angular js parse json 
Javascript :: javascript get array min and max 
Javascript :: html form post json example 
Javascript :: javascript does not equal 
Javascript :: expo build ios 
Javascript :: console.log clear screen 
Javascript :: extract value from array of objects javascript 
Javascript :: js concat variable and string 
Javascript :: click right mouse javascript 
Javascript :: set image size phaser 
Javascript :: javascript reset form 
Javascript :: convert number to word js 
Javascript :: javascript check if variable is a jquery object 
Javascript :: react refresh 404 error 
Javascript :: google places autocomplete just cities 
Javascript :: javascript setattribute onclick function with parameters 
Javascript :: sequelize where more than 
Javascript :: mongoose schema cast decimals 
Javascript :: importing json file in javascript 
Javascript :: vuex add multiple payload to mutation 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =