I tried searching but I don't even know how to phrase the search.
I have a Web page with a button attached to a script. Basically, the script does some calculations and then opens a window sending some of the results of that calculation as data. It works fine but I'd prefer if the new page opened in the same window as I started from, as if it were the result of a link.
I'm using this:
As I said, it works just fine but I suspect there's a different command/method I could use in place of "window.open()".
_________________
Bob Rashkin
I have a Web page with a button attached to a script. Basically, the script does some calculations and then opens a window sending some of the results of that calculation as data. It works fine but I'd prefer if the new page opened in the same window as I started from, as if it were the result of a link.
I'm using this:
Code:
window.open("[URL unfurl="true"]http://localhost/cgi-bin/page1a.py?a="+a+"&b="+b+"&c="+c+"&d="+d);[/URL]
_________________
Bob Rashkin