Hello,
I am working on a website and have 2 id’s that match. However, all I am trying to do is validate the code.
The second time I use the ID, I have to, because the JavaScript in my code needs to read the ID. It is unable to read a class attribute, and the rel attribute won’t work either, since I am using custom values. Therefore, it has to be an ID attribute.
However, if the JavaScript reads the ID, then the first time I use the id, it also must be an ID. This puts me in an awkward position of having to have 2 ID attributes.
Basically, I need to know if there is a way to validate while having 2 IDs. Otherwise, is there a way to validate a ‘rel’ attribute with a custom value?
Thank you very much.
-TitanVex