I have the following HTML code:
<div class="member">
<input type="checkbox" value="64" style="display:none;" name="memberId[]" />
<div class="memberInfo">John Doe</div>
</div>
I'm trying to get a jQuery script that when a visitor presses the member div it will change the background color, and check the memberId checkbox.
How should such a jQuery script look like?
Thanks,