Dans IE7 seule case onselecting selectAll un seul checjbox se sélectionné sur firefox cela fonctionne fine..How peut-il être fixécase à cocher dans les attributs jquery
<input type='checkbox' id='selectall' name='selectall' class='selectall' onclick='javascript:selectall1();' /><label><b>Select all</b></label><br>
<input type="checkbox" id="m_q" name="m_q" value="485">
select country
<input type="checkbox" id="m_q" name="m_q" value="486">Select state
<script>
function selectall1()
{
if ($('#selectall').attr('checked')) {
$("#m_q:not([disabled='disabled'])").attr('checked', true);
}
else{
$("#m_q:not([disabled='disabled'])").attr('checked', false);
}
}
</script>
tu l'as eu merci ...... – Hulk