Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18761
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: How to submit a form with two actions? |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | <d7794c16-2790-4efb-b512-fba93780e624@googlegroups.com> <df2aecfa-053e-4b2b-aa6e-962e16acecc5@googlegroups.com> |
| Date | 2013-03-08 00:37 +0100 |
| Message-ID | <XnsA17D65C2F1DBeejj99@194.109.133.133> (permalink) |
justaguy wrote on 08 mrt 2013 in comp.lang.javascript: > Thanks. Your code makes more sense. I changed the > f.method = 'get'; // ! ;-) > to > 'POST' method because I don't want form data to show up at URL level. I just showed the possibility, if both are post, you surely don't have to specify it twice. > Outcome: > it brought up another tab for action2.html > but action1.html has not been processed. I don't think so, if the target is named but not '_blank', the same window should have beeen used. And, you cannot specify from the page wether a tab or a new window will be used. A named <iframe> is a possibility. > > Tested with Chrome 25, Safari 5.05 and Firefox 19. > > Any further thoughts? > Perhaps you should give the second posting a timeOut() of say 50 miliseconds, to have the browser recover from this rather unusual request, never yet envisaged by the browser-makers? -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 13:18 -0800
Re: How to submit a form with two actions? Danny <dann90038@gmail.com> - 2013-03-07 14:40 -0800
Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 14:46 -0800
Re: How to submit a form with two actions? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-07 15:31 -0800
Re: How to submit a form with two actions? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-08 00:42 +0100
Re: How to submit a form with two actions? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-07 15:55 -0800
Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 16:43 -0800
Re: How to submit a form with two actions? Stefan Weiss <krewecherl@gmail.com> - 2013-03-08 02:55 +0100
Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 18:09 -0800
Re: How to submit a form with two actions? Stefan Weiss <krewecherl@gmail.com> - 2013-03-08 04:21 +0100
Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 19:37 -0800
Re: How to submit a form with two actions? Stefan Weiss <krewecherl@gmail.com> - 2013-03-08 13:18 +0100
Re: How to submit a form with two actions? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-08 20:51 +0100
Re: How to submit a form with two actions? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-07 23:52 +0100
Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 15:16 -0800
Re: How to submit a form with two actions? Danny <dann90038@gmail.com> - 2013-03-07 15:22 -0800
Re: How to submit a form with two actions? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-08 00:37 +0100
Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 16:44 -0800
Re: How to submit a form with two actions? Denis McMahon <denismfmcmahon@gmail.com> - 2013-03-09 05:09 +0000
Re: How to submit a form with two actions? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-08 20:50 +0100
csiph-web