Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery uncheck all other checkboxes when one is checked

$('input.example').on('change', function() {
    $('input.example').not(this).prop('checked', false);  
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: js get all query string 
Javascript :: js date after 1 year 
Javascript :: import jsx file without extension 
Javascript :: how to add another schema id on mongodb 
Javascript :: angular json pipe pretty 
Javascript :: check if variable is undefined or null jquery 
Javascript :: on uncheck checkbox hide button jquery 
Javascript :: how to convert new date to dd/mm/yyyy format in javascript 
Javascript :: javascript get local storage 
Javascript :: regex pattern to validate email 
Javascript :: Vanilla JS (on)load with page 
Javascript :: (node:2496) DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead. 
Javascript :: lodash find object in array 
Javascript :: for each element in object 
Javascript :: Found multiple occurrences of org.json.JSONObject on the class path: 
Javascript :: javascript round number to nearest 5 
Javascript :: focus js 
Javascript :: javascript is JSON string valid 
Javascript :: js test if string 
Javascript :: last item in object javascript 
Javascript :: return index of array with function in array angular 
Javascript :: mock window jest js 
Javascript :: how to cheack if a number is an integer or float in javascript 
Javascript :: how to set state when change viewport react 
Javascript :: how to reverse an array in javascript 
Javascript :: angular cli create component with module 
Javascript :: form.select react bootstrap 
Javascript :: vue chart nuxt 
Javascript :: how do i remove all vowels from a string in javascript and return the result 
Javascript :: js string array convert to int 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =