Hello folks.
I'm trying to make a button in one frame which when clicked submits the contents of forms in 2 other frames.
I've got so far using a function:
function Posty() {
parent.CentreFrame.form1.submit();
parent.RightFrame.form1.submit();
}
and calling it in a form by
<form name="submit_button">
<input type="button" value="submit" onClick="Posty()">
</form>
This worked once but when I've tried additional submits with different contents I'm getting an error message in IE 'object does'nt support this property or method'. Apparently this problem was with the line 'parent.CentreFrame.form1.submit()'
In Netscape6 this technique does'nt work at all.
Anyone out there have any ideas. This seems like it should be possible...
I'm trying to make a button in one frame which when clicked submits the contents of forms in 2 other frames.
I've got so far using a function:
function Posty() {
parent.CentreFrame.form1.submit();
parent.RightFrame.form1.submit();
}
and calling it in a form by
<form name="submit_button">
<input type="button" value="submit" onClick="Posty()">
</form>
This worked once but when I've tried additional submits with different contents I'm getting an error message in IE 'object does'nt support this property or method'. Apparently this problem was with the line 'parent.CentreFrame.form1.submit()'
In Netscape6 this technique does'nt work at all.
Anyone out there have any ideas. This seems like it should be possible...