In html, check one checkbox from 2 checkbox without JQuery -


this question has answer here:

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

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -