F
Fabri
Is it possible to post all (or more of one) forms simultaneosly?
document.forms.submit?
Any help appreciated.
Regards.
document.forms.submit?
Any help appreciated.
Regards.
Fabri said:Is it possible to post all (or more of one) forms simultaneosly?
document.forms.submit?
Any help appreciated.
Regards.
Fabri said:Is it possible to post all (or more of one) forms simultaneosly?
Martin said:Well probably only if the target is set differently or to a new window e.g.
for (var i = 0; i < document.forms.length; i++) {
document.forms.target = '_blank';
document.forms.submit();
}
Martin Honnen said:Is it possible to post all (or more of one) forms simultaneosly?
Well probably only if the target is set differently or to a new window e.g.
for (var i = 0; i < document.forms.length; i++) {
document.forms.target = '_blank';
document.forms.submit();
}
If you have forms with no target set then obviously submitting one means
unloading the current page and then there are not further forms to submit.
Why not just cause the server side form handler to return, say, a 204, there
is no new information to send back? That way the existing page will remain.
Fabri said:rf wrote:
[CUT]
remain.Why not just cause the server side form handler to return, say, a 204, there
is no new information to send back? That way the existing page will
Can you give us an example please?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.