Page 1 of 1

You learn something everyday...

Posted: Thu Sep 26, 2002 11:14 pm
by phice
Just learned this on Jasons site...

Code: Select all

<label for="input_name">Text to click on</label><input type="checkbox" name="input_name" value="eh">
It displays "Text to click on" and a checkbox. You click on the text, and it checks the box. Very nice. ;)

Posted: Fri Sep 27, 2002 1:35 am
by twigletmac
There was a short article on Evolt about this:
http://www.evolt.org/article/Form_Label ... index.html

The effect is pretty cool, one of those 'how did they do that!' kinda things.

Mac