View Single Post
Old 02-13-2013, 09:08 PM   PM User | #8
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,447
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by VIPStephan View Post
The ID on inputs is used for labels. I don’t know whether the link is made if there is a period in the ID, though.
It appears that the id does still work for linking a label to an input even when the id contains garbage - at least in all the popular browsers. That is the one instance where a period doesn't apply a different meaning in one place to what it does at the other. You wouldn't be able to access the forHTML value from JavaSript though because it too would misinterpret the dot.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote