472,125 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,125 software developers and data experts.

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 1448
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.