Service flatcheckbox is a small jQuery plugin that serves 2 purposes:
- It styles a checkbox any way you want by hiding the
<input type="checbox" />and replacing it with a styled div. The css file that comes with the component creates a ‘flat’ checkbox (comparable with how you see checkboxes on Windows 8.x apps).
- It binds your event handler to the element.