[jQuery] jQuery each problem

[jQuery] jQuery each problem


Hi
I am new to jQuery and learning slowly
Here is the problem
I have 6 questions each of them has 2 buttons ( yes or no radio
buttons)
When user clicks on 1 answer I would like to hide the entire question
I have achieved to do this for 1 question but no success looping
through all 6 questions !
<div id="quest1>
Question 1
<input class="choix1" type="radio" name="choix1"
onclick='q1=1'>Yes

<input class="choix1" type="radio" name="choix1" onclick='q1=0'>No

</div>
<div id="quest2>
Question 2
<input class="choix2" type="radio" name="choix1"
onclick='q1=1'>Yes

<input class="choix2" type="radio" name="choix1" onclick='q1=0'>No

</div>
...........
jQuery('.choix1').click(function(){
jQuery('#quest1').hide();
});
This works for 1 item but how can I loop through all all of them
Thanks for help
Jean from France