Posted by J.O. Aho on 12/08/05 09:55
pogo wrote:
> Hello.
>
> I am trying to figure out a way to give the option of opening a form's
> results in the same window or a new browser window by setting a check box in
> the form, such as
>
> [] Open in New Window
>
> So if the box was not checked, the results would be written to the same
> browser window;
> if box *was* checked, they would go to a new window and the current form
> would remain intact.
>
> Any hints ?
You need to send new data to the original window with an additional of a
javascript that opens a new window which will load the data you want to
display on the new window (this requiters you can save the data or send it all
as URL arguments).
Another possibility would be if you can affect the a TARGET value for the FORM
with help of a javascript that is linked to the Open-in-new-window option.
This is the most elegant solution.
//Aho
Navigation:
[Reply to this message]
|