Submitting a form on a web page has the same effect as clicking a link.
It will take you away from that page and on to the one specified by the
form (or determined by its action).
Theoretically you could submit all the forms on the page by writing ...
for (i=0; i<document.forms.length; i++) {
document.forms[i].submit();
}
... the problem is that you might as well just try and click all the
links on the page at the same time instead
The solutions are either to (tidier) rewrite the page to use only one
form or (less modification of current code) call a function which puts
the details of all the current forms into a new single one. The former
would be the preferable one.
Fred Basset
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!