I found this code on another post on this website what makes it so you can click anywhere in the div and it ticks the check box for you.
Below is the code that I found however I have changed it by giving it an id
<label for="cb">
<div id="clickablediv">
<input name="cb" id="cb" type="checkbox">
</div>
</label>
I would like to extend this question/answer by adding some java script to it so when the div is clicked it fades out the div a little bit so you can tell it has been clicked and if it is clicked again then it goes to its original looks. I am thinking maybe a grey color added with a transparency so you can still see the div underneath once it has been clicked.
Here is a jsFiddle link with the HTML
and some CSS
to give the div some content what will be dulled out on click.
I am using jquery 1.11.0
on my site at the moment so if jquery
is used could you please make sure it works with 1.11.0