I’ve been recently playing with a nice little plugin for jQuery called ezMark ( http://www.itsalif.info/content/ezmark-jquery-checkbox-radiobutton-plugin )
One thing I found it lacking, which was a bit annoying – was a way to “tick” or “untick” a tickbox via the script. After much searching, I finally found this works:
$( '#idOfCheckbox' ).trigger("click");
Obviously you can change it to whatever you want to tick… but the general idea is nice and simple
Hope this helps someone else!