Jump to content

opening more than 1 window


php_novice2007

Recommended Posts

Hi,

 

I have a form with the following tag:

<form name="graph_form" action="graphData.php" method="post" target="foo" onSubmit="window.open('', 'foo', 'width=500,height=350,status=yes,resizable=no,scrollbars=no')">

 

When the user clicks on the submit, graphData.php opens in a new window, which is what I wanted. Since the original window is still opened I'm wondering whether it is possible to change my choice on it, and resubmit the form and open another graphData.php window. So far in my graphData.php window I just have it print the choices the user made, and when I resubmit the form in the main window, the first opened window changed its contents. Instead I want a second window to open with the new contents. How can I do that?

 

Thanks!

             

Link to comment
https://forums.phpfreaks.com/topic/65684-opening-more-than-1-window/
Share on other sites

Yes the page is on the server. It opens to plot a graph, and since I have not worked out how to draw more than 1 graph on the same page, I want javascript to be able to open more than 1 page so that the user can look at both graphs at the same time.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.