I generate a SELECT list dynamically by taking items from a table. I
have DOCUMENT.WRITE statements that write a combination of literals and
variables including < and > characters. The HTML seems to work all
right but validators show errors of having a closing > without an
opening <. Even though these are in DOCUMENT.WRITE statements within
quotes they are still flagged as errors.
Is there any way around this. I have tried HTML entities but they cause
problems. They seem to be substituted at the wrong time causing errors.
The page is http://www.dcs-chico.com/~denmarks/amtrak.html
BTW: I've been told that the ID statements are incorrect and I should
use CLASS. ID seems to work. If I should use CLASS could somebody show
me exactly what to change.
I was a mainframe programmer all of my life and javascript is new to
me. I don't care at this time if there is a better way to do the page.
It is for fun and I just want it to be correct.
--
Dennis M. Marks
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----