Search
 
SCRIPT & CODE EXAMPLE
 

HTML

group checkbox html

<div>
    <input type="checkbox" />
    <input type="checkbox" />
    <input type="checkbox" />
</div>  
<div>
    <input type="checkbox" />
    <input type="checkbox" />
    <input type="checkbox" />
</div>   
<div>
    <input type="checkbox" />
    <input type="checkbox" />
    <input type="checkbox" />
</div>

#need Jquery
<script>
$('input[type="checkbox"]').on('change', function() {
   $(this).siblings('input[type="checkbox"]').prop('checked', false);
});
</scritp>
Comment

PREVIOUS NEXT
Code Example
Html :: how to set all to left on html 
Html :: bootstrap table no border 
Html :: anchor tag background image html 
Html :: input hidden selected 
Html :: bootstrap jumbotron with navbar 
Html :: give padding to label html 
Html :: bootstrap tab 
Html :: submit html 
Html :: text box 
Html :: email validator hmtl 
Html :: html change button color 
Html :: cards froup 
Html :: render html view react native 
Html :: html elements list 
Html :: online html editor 
Html :: tree view in bootstrap 
Html :: alpine function 
Html :: html5 exmaple 
Html :: maven langage level 
Html :: tag field 
Html :: open .html file in webbrowser c# 
Html :: wicked pdf page break 
Html :: input field html for date 
Html :: append html form element 
Html :: html bulleted list 
Html :: tailwind button example 
Html :: making a legend in html 
Html :: symfony twig form value 
Html :: <= meaning 
Html :: include react in html 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =