Problem with labels on checkboxes and trying to 'check all'?
Hi - I'm having trouble when using a 'select all' checkbox in a form that includes a label. (ie
<input id="test_field3" type="checkbox" name="test_field3" value="test_field3" /><label for="test_field3">Test field 3</label>)
The select all code work when there are no labels used (ie
<input id="test_field" type="checkbox" name="test_field" value="test_field" />Test field 1)
and it also works when I don't include the jquery.mobile-1.0a3.min.js script.
I have posted an example here:
Has anyone experienced this problem or figured a way around it?
Thanks
James