By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,594 Members | 3,459 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,594 IT Pros & Developers. It's quick & easy.

Detecting a successful submitting, possible?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.