Any idea why this will not validate....
by "Craig Monroe" <cmonroe11(at)prodigy.net>
|
Date: |
Wed, 17 Nov 1999 12:46:53 -0500 |
To: |
"HWGBASICS" <hwg-basics(at)hwg.org> |
|
todo: View
Thread,
Original
|
|
<script language="JavaScript" type="text/javascript">
<!--
document.write('<form name="selecter1"><select name="select1" size=1>');
document.write('<option value=none>Select Your Category');
document.write('<option value=none>--------------------');
document.write('<option value="faq1_generalknowledge.html">General
Knowledge');
document.write('<option value="faq1_nat.html">Network Address Translation
(NAT, Address Mapping)');
document.write('<option value="faq1_security.html">Security');
document.write('<option value="faq1_dhcp.html">DHCP ');
document.write('<option value="faq1_pinholes.html">Configuring Pinholes');
document.write('<option value="faq1_trafficshaping.html">Traffic Shaping');
document.write('<option value="faq1_troubleshooting.html">Troubleshooting');
document.write('<option value="faq1_broadband.html">Broadband Connectivity
Issues');
document.write('</select>');
document.write('<input type="button" value="Go" onclick="go1()">');
document.write('</form>');
// end hiding contents -->
</script>
These are the two errors I am getting, it is saying I have never opened
form or select...
Below are the results of attempting to parse this document with an SGML
parser.
Line 90, column 24:
document.write('</select>');
^
Error: end tag for element "SELECT" which is not open (explanation...)
Line 92, column 22:
document.write('</form>');
^
Error: end tag for element "FORM" which is not open (explanation...)
Way to get around this?
thanks always
Craig Monroe
cmonroe11(at)prodigy.net
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA