We help IT Professionals succeed at work.

pop up window on submit..?

Hello, can someone let me know the java script for the following situation:

-When I click submit button on page1.php, page2.php needs to open as a pop up.
-Once I update page2.php and hit the submit button page2,php needs to close and page1.php needs to be refreshed.

How can I accomplish this task? Thanks for the help.

A
Comment
Watch Question

here is the code to submit a form on a popup window and target the results into the main window and close the popup window at the same time:

http://www.irt.org/script/339.htm
Most Valuable Expert 2011
Top Expert 2016
Commented:
You might find this functionality in jQuery.
http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery

Author

Commented:
I am still working on this. I need a couple of days.

Author

Commented:
Thanks.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.