469,356 Members | 2,203 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

Detecting a successful submitting, possible?

Scenario: A page creates a pop up and that pop up submits a form. Is there a
way to detect whether the submitting was successful or not, so true/false
could be passed to the parent window?
Feb 20 '06 #1
1 1387
Hello wrote:
Scenario: A page creates a pop up and that pop up submits a
form. Is there a way to detect whether the submitting was
successful or not, so true/false could be passed to the
parent window?


The normal process of submitting a form results in the server returning
a replacement HTML page to the browser that submitted the form.
Presumably the server knows whether the submission was successful so it
can include in that page a script that tells the pop-up window's opener
that the submission was successful. In the absence of a positive signal
from the returned page the opener would have not choice but assume the
submission to have been unsuccessful.

Of course it is not a good idea to be using pop-ups at all, using
pop-ups as vehicles for separate form submission, or designing in
javascript dependencies into a system that already significantly
unreliable following the attempted use of pop-ups, but that is another
story.

Richard.
Feb 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by MDW | last post: by
19 posts views Thread by Gav | last post: by
25 posts views Thread by Ryan Stewart | last post: by
2 posts views Thread by Eduard Witteveen | last post: by
85 posts views Thread by Russ | last post: by
15 posts views Thread by RobG | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.