I have 2 checkboxes (Yes / No ) with the plugin icheck (http://ift.tt/1VqAPUw), and I want when Yes is checked No come to uncheck and vice-versa.
Html
<label class="checkbox-inline i-checks"> <input asp-for="Yes" type="checkbox" id="myicheckboxid1"/> Yes </label>
<label class="checkbox-inline i-checks"> <input asp-for="No" type="checkbox" id="myicheckboxid2"/> No </label>
Javascript
$('.i-checks').iCheck({
checkboxClass: 'icheckbox_square-green',
radioClass: 'iradio_square-green'
});
Thanks in advance.
Best regards.
Jolynice
Aucun commentaire:
Enregistrer un commentaire