### Basic Checkbox will automatically detect the input's type and render proper styles. ```javascript $("input[type=checkbox], input[type=radio]").checkbox(); ``` ```markup
``` ### Toggle Checkbox can also render a 'toggle' style checkbox. ```javascript $("input[type=checkbox]").checkbox({ toggle: true }); ```