<div class="row">
<div class="form-group">
<label class="control-label col-sm-6">Gold Foil Stamping : </label>
<div class="col-sm-6"><input type="checkbox" name="gold_foil_option" value="Gold_Silver_Printing"> Gold / Silver Printing<br>
<input type="checkbox" name="gold_foil_option1" value="Gold_Foil_Stamping"> Gold Foil Stamping</div>
</div>
</div>
I want to select one check box out of two check box using javascript? What is the possible way to select one checkbox using javascript? Can i name both the name as same so as to select one checkbox at a time? I want to use only javascript only at a time?