public marks

PUBLIC MARKS from MaoTseTongue with tags html & checkbox

02 September 2006 13:30

CRIR: Checkbox Radio Input Replacement

by 13 others
This combination of JavaScript and CSS will hide checkbox and radio inputs that have a class = "crirHiddenJS", an id, and a proper label tag. This will allow you to style the label however you wish using CSS, and the actual input control will be hidden. The form will still collect data as it normally would because the label itself will trigger the hidden input control. If javascript is disabled no inputs will be hidden and the form is still be fully functional.

MaoTseTongue's TAGS related to tag html

aptana +   checkbox +   css +   ide +   input +   javascript +   radio +   replacement +   web +