Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16574

Re: Event-driven?

Newsgroups comp.lang.javascript
Date 2012-10-12 01:00 -0700
References <af955fd7-891f-4bf8-8074-949afbd775ff@googlegroups.com> <99976f6e-c575-4ce4-a359-f3ded3ed36b5@googlegroups.com>
Message-ID <17398ee5-46de-4526-9659-ecfc91f5157f@googlegroups.com> (permalink)
Subject Re: Event-driven?
From morellik <enrico.morelli@gmail.com>

Show all headers | View raw


On Tuesday, October 9, 2012 9:45:14 PM UTC+2, Danny wrote:
> I'd say as way to separate the processes, as suggested before by Erwin Moller and others, use a new window, they're correct by the way, popup blockers very likely may block a window.open(), there are criteria however on what's an UNREQUESTED window and a REQUESTED window, and popup blockers work within such criteria.  Anyhow, the way to get around that, is use markup new-windows :), target="_blank", in the form, thus the form will end up submitting to a newly opened window, separating the processes from both windows.  Worse case scenario, the form will open in a Tab rather than a window.  Try as -> http://www.webdevout.net/test?016&raw
> 
> 
> 
> As you can see I load a 2nd page 2secs after submission, the form submits to _blank and other page can load on afterwards, why the delay? to allow the submission process to take place before removing the page/form.

Thanks for your example. Very nice.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Event-driven? morellik <enrico.morelli@gmail.com> - 2012-10-09 02:09 -0700
  Re: Event-driven? Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-10-09 11:30 +0200
  Re: Event-driven? morellik <enrico.morelli@gmail.com> - 2012-10-09 03:10 -0700
    Re: Event-driven? Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-10-09 12:52 +0200
  Re: Event-driven? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-10-09 14:34 +0200
  Re: Event-driven? Danny <dann90038@gmail.com> - 2012-10-09 12:45 -0700
    Re: Event-driven? morellik <enrico.morelli@gmail.com> - 2012-10-12 01:00 -0700

csiph-web