In html, check one checkbox from 2 checkbox without JQuery -
this question has answer here:
- html select 1 checkbox in group 10 answers
i'm having 2 checkbox. need check one. know using jquery
, it's easy. default option in html. i'm having 2 checkbox.
thanks.
code:
<input type="checkbox" value="1" name="foo" /> <input type="checkbox" value="2" name="foo" />
and option change height , width of check box? css.
hi in html use radio button.,.... simple alterantive..less code..which improves performance well..optimized solution
<form action=""> <input type="radio" name="foo" value="1"> <br> <input type="radio" name="foo" value="2"> </form>
Comments
Post a Comment