I have a problem with my Radio button
. Everyone is getting selected on my html
.
Why does this happen? Is there any property that directs this?
I have a problem with my Radio button
. Everyone is getting selected on my html
.
Why does this happen? Is there any property that directs this?
Add name
equal to inputs
.
Example:
<form action="">
<input type="radio" name="sex" value="male">Male<br>
<input type="radio" name="sex" value="female">Female
</form>