You learn something everyday...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

You learn something everyday...

Post 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. ;)
Image Image
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Post Reply