2
How can I remove checked input radio if a div has the click effect?
<!DOCTYPE html>
<html>
<body>
<form action="">
<input type="radio" name="gender" value="male"> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other
</form>
<div id="remover">
<p>Remover checked de radio selecinado</p>
</div>
</body>
</html>
When the div with id "remove" has effect click remove checked input.
That is if he has correct jQuery?
– hugocsl
Correct, and among the tags of the question jQuery is marked.
– David Alves
I only commented because in the code he posted does not have the jQuary include, but if it is in the question tag is quiet.
– hugocsl
No problem, I edited the answer to enable those who do not want jQuery also be helped in the future.
– David Alves
Very good, tmj!
– hugocsl