dciccale/Custom-radio-checkbox — pull request #9 by tcyr (2012-09-04 10:43:57+00:00)
Title: Update js/jquery.custom-radio-checkbox.js

anyway you see //#CHANGE HERE is my alteration to the previous latest version.
I noticed that though the state of the 'fakeElement' was changing, the actual HTML element
was not changing. So I enabled this and also triggered 2 events ('check' and 'uncheck') depending on the status of the element.
With these new events one can then do the following implementation to get what actually happened to the HTML element

$('checkbox').bind("check", function(e) {
//box is checked
//use $(this) to do anything with box like $(this).val() to get value
}).bind("uncheck", function(e) {
//box is unchecked
//use $(this) to do anything with box like $(this).val() to get value
});