Forum Moderators: open

Message Too Old, No Replies

How to open a popup window after a script is executed?

         

newbie

4:47 am on Sep 8, 2002 (gmt 0)

10+ Year Member



I'm writing an application which has following files:Form.pl which displays the form,res.pl which processes the form data and displays the result.After the execution of the script,I need the result to be displayed in a popup window.How do I do this with javascript?

tedster

8:18 am on Sep 8, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld newbie.

The basic javascript for opening a new window is discussed on message 4 of our generic javascript thread [webmasterworld.com].

When the form data is submitted, that onclick event could also launch a pop-up window whose URL would be the page that your server-side script outputs - or so it seems to me, if I understand your question properly.