B
bbxrider
i have javascript code that creates some of my html code, e.g.
</SELECT>
year* <SELECT size=1 name="dobYYYY">
<script type="text/javascript" RUNAT="Server">
d = new Date();
var year = d.getFullYear();
year = parseFloat(year);
for (i = year; i > (year - 80) ; i--) {
document.write("<OPTION> " + i);
}
</script>
</SELECT><BR><BR>
so i get an 80 year table without having to code all 80 lines,
so if i want the 'final' html code to pass the validation test and/or not
have it viewable in the source,
how i generate it at the server with vbscript or javascript
</SELECT>
year* <SELECT size=1 name="dobYYYY">
<script type="text/javascript" RUNAT="Server">
d = new Date();
var year = d.getFullYear();
year = parseFloat(year);
for (i = year; i > (year - 80) ; i--) {
document.write("<OPTION> " + i);
}
</script>
</SELECT><BR><BR>
so i get an 80 year table without having to code all 80 lines,
so if i want the 'final' html code to pass the validation test and/or not
have it viewable in the source,
how i generate it at the server with vbscript or javascript