How do I pass a URL to a new window to be opened when an OK button on new window is clicked?
Apr 6th, 2008 18:46
ha mo, Colin Fraser, Christina Lewis,
Your question is somewhat vague, and I suspect that this is the reason
why it has not been answered before now.
I would venture to suggest this is a standard button/window opener
Using a form button only :
<input type="button" onClick="location.href='thispage.htm'" value=
and so on for each page you want to go to.
Alternatively you may want to try :
<input type="button" value="ThisPage" onclick="openwin('thispage.htm')">
<input type="button" value="ThatPage" onclick="openwin('thatpage.htm')">
This is much tidier.
Of course, all this depends on how you get the URL.