in reply to Re: LWP multi-form POST
in thread LWP multi-form POST
A lot of sites use javascript to submit multiple forms
Can you site an example of a site that does this? (I'm not denying it -- I've seen all sorts of weird things done with scripts that ought not to be possible. I'm just curious how it's accomplished, given that normally the submission of a form causes the browser to stop executing the scripts on that page as it goes on to fetch the new form-result page.)
Basically, if you use a <form NAME="foo"> tag in the forms declaration you can use:
document.foo.submit();
To submit a form. Most of the time this is used to create hyperlinks which submit a form, or forms that submit themselves if you click on a select box, for instance. However, it can be extended by creating a class of functions to submit multiple forms at the same time. I don't have any examples off the top of my head, but if I come across one I will be sure to post it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP multi-form POST
by jonadab (Parson) on Feb 11, 2004 at 14:33 UTC | |
by Vautrin (Hermit) on Feb 11, 2004 at 16:05 UTC |