I have the following:
<form id="myform">
<input type="checkbox" name="check1" value="check1">
<input type="checkbox" name="check2" value="check2">
</form>
How do I use jQuery to capture any check event occuring in myform
and tell which checkbox was toggled (and know if it was toggled on or off)?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…