Labelize is a jQuery plugin that gives arbitrary container elements label-like properties. It's ideal for giving hard-to-click input elements (like radio buttons and checkboxes) generous target areas.
Click anywhere on the green box.
$('div.chkbox-label').labelize();
Hover over the radio buttons - and click.
$('li.radio-label').labelize('radio-label-hover');
Labelize also works with table row elements.
| Name | Age | |
|---|---|---|
| Joe Schmoe | 35 | |
| Jane Doe | 28 |
$('tr.tr-label').labelize('tr-label-hover');
Labelize is hosted on GitHub: http://github.com/bentlegen/labelize/tree/master
You can also download Labelize from the jQuery Plugin site.
Labelize is distributed under the MIT License.