Ayla
09-25-2009, 10:08 PM
Hello,
First, I'm glad this forum has re-opened because I found you all to be so helpful in the past.
Second, my dilemma. I am learning Javascript. I know this may not be the place to put this or if you all even help with advanced stuff like this any more, but it does pertain to strict xhtml and w3c validation. I was told by a teacher that I should keep the name attribute in my Javascript tags, along with an id of the same name, because older browsers don't read the id tag in Javascript and they may need the name tag. So I have a Javascript drop-down-menu in my website that has both an id and a name attribute within it. The problem is that I need to validate this site as strict xhtml and the w3c validator sees the name tag and thinks I'm trying to do stuff with targets (which it obviously does not allow). Does anyone have any advice on how to get around this? I've been Googling it, but I can't seem to find anything I understand that doesn't suggest pulling the name attributes out completely.
Thanks in advance,
Ayla
First, I'm glad this forum has re-opened because I found you all to be so helpful in the past.
Second, my dilemma. I am learning Javascript. I know this may not be the place to put this or if you all even help with advanced stuff like this any more, but it does pertain to strict xhtml and w3c validation. I was told by a teacher that I should keep the name attribute in my Javascript tags, along with an id of the same name, because older browsers don't read the id tag in Javascript and they may need the name tag. So I have a Javascript drop-down-menu in my website that has both an id and a name attribute within it. The problem is that I need to validate this site as strict xhtml and the w3c validator sees the name tag and thinks I'm trying to do stuff with targets (which it obviously does not allow). Does anyone have any advice on how to get around this? I've been Googling it, but I can't seem to find anything I understand that doesn't suggest pulling the name attributes out completely.
Thanks in advance,
Ayla