Hey all,
I'm having a lot of trouble with the following:
Why am I getting "... has no properties."?
Thanks,
- MT
Matt Torbin
Center City Philadelphia Macintosh Users Group
ichat/aim: mtorbin_at_mac.com
direct email: mtorbin_at_mac.com
I'm having a lot of trouble with the following:
Code:
function buildPage(formName,monthName,dayName,yearName) {
formName = document.formName;
monthName = document.formName.monthName;
dayName = document.formName.dayName;
yearName = document.formName.yearName;
alert(formName);
}
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"[URL unfurl="true"]http://www.w3.org/TR/html4/loose.dtd">[/URL]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script src="dateListBoxes_ext.js"></script>
</head>
<body onLoad="buildPage('myForm','theMonth','theDay','theYear');">
<form name="myForm" id="myForm">
<table width="25%" border="0" cellpadding="2" cellspacing="0">
<tr align="center">
<td width="33%">
<select name="theMonth" onChange="changeDate(this.value)"></select>
</td>
<td width="33%">
<select name="theDay"></select>
</td>
<td width="33%">
<select name="theYear"></select>
</td>
</tr>
</table>
</form>
</body>
</html>
Why am I getting "... has no properties."?
Thanks,
- MT
Matt Torbin
Center City Philadelphia Macintosh Users Group
ichat/aim: mtorbin_at_mac.com
direct email: mtorbin_at_mac.com