I have a form in one frame and am trying to use a function from another frame to call the form's submit() method, but I can't seem to make it work. Something like this:
Everytime I try the link, though, IE pops up a nasty red box saying that the method is not supported. Has anyone done this before, or know what I'm doing wrong?
Brad Gunsalus
bardley90@hotmail.com
Code:
(formpage)
<form name="form1" method="post" action="formpage">
.
.
</form>
(otherpage)
<head>
<script type="text/javascript">
function submit_other_form () {
formpage.document.form1.submit();
}
</script>
</head>
<body>
<a href="javascript: submit_other_form">Submit</a>
</body>
Everytime I try the link, though, IE pops up a nasty red box saying that the method is not supported. Has anyone done this before, or know what I'm doing wrong?
Brad Gunsalus
bardley90@hotmail.com