skip to Main Content

How to make 2 groups of checkboxes mutually exlusive – Jquery

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://code.jquery.com/jquery-3.6.3.slim.js" integrity="sha256-DKU1CmJ8kBuEwumaLuh9Tl/6ZB6jzGOBV/5YpNE2BWc=" crossorigin="anonymous"></script> <title>Document</title> </head> <body> <div id="div1" style="border:1px solid blue; width:300px;"> <input class="sev" id="chk1" type="checkbox"> <label for="chk1">Check 1</label> <input class="sev" id="chk2" type="checkbox"> <label for="chk2">Check…

VIEW QUESTION
Back To Top
Search