Hi all,
I am getting the ambiguous message "document.form has no properties". (But it does!)
Here's my (relevant) HTML code:
Here's my (relevant) Javascript code:
When I run the page, the error I get in the Javascript console is: Error: document.form has no properties
Can someone explain to me what I did wrong?
![[hairpull3] [hairpull3] [hairpull3]](/data/assets/smilies/hairpull3.gif)
Thank you!
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Cheers!
Laura
I am getting the ambiguous message "document.form has no properties". (But it does!)
Here's my (relevant) HTML code:
Code:
...
<body onLoad="getTimes(document.form.edit);">
<form name="edit" method="post" action="save.php?recid=9&tableid=18" onSubmit="return CheckForm(this)">
...// all sorts of elements with values...
</form>
Here's my (relevant) Javascript code:
Code:
function getTimes(myForm){
//all sorts of javascript code to populate drop-down lists
}
When I run the page, the error I get in the Javascript console is: Error: document.form has no properties
Can someone explain to me what I did wrong?
![[hairpull3] [hairpull3] [hairpull3]](/data/assets/smilies/hairpull3.gif)
Thank you!
![[cheers] [cheers] [cheers]](/data/assets/smilies/cheers.gif)
Cheers!
Laura