jQuery plugin to replace checkboxes with <div>
elements for styling.
This plugin makes no assumptions about class-names or the contents of the <div>
element,
it only implements the behavior - it returns the generated <div>
elements for further
operations with jQuery functions, so you can do for example:
$('input[type=checkbox]')
.checkbox() // returns set of <div> elements
.addClass('checkbox') // adds class="checkbox" to every <div> element
.html('✔') // inserts a unicode checkmark into every element