View Single Post
Old 01-24-2013, 02:25 PM   PM User | #10
L0adOpt1c
New Coder

 
L0adOpt1c's Avatar
 
Join Date: Jan 2013
Location: <bed />
Posts: 87
Thanks: 0
Thanked 6 Times in 6 Posts
L0adOpt1c is an unknown quantity at this point
Quote:
Originally Posted by DanInMa View Post
No you are not correct. You can give multiple elements the same ID all day long, but its not compliant to the standard and it causes issues if you are trying to target an element with javascript by id if there are mutiple elements with the same id.

Id's are and always have been meant to be unique. Sorry, you are incorrect.


Sorry, but the person before was correct. Of course you can't use one ID multiple times per page, you can use them across several pages on one website.
__________________
Validate, early and often. | Use W3Schools! |
Search for your answer before posting.
For the love of everything electronic, VALIDATE
Zdravstyvutye. Zdarova Chuvok?
L0adOpt1c is offline   Reply With Quote