Using the double combo script at
I have included a window.open command to open the target page in a new window
function go(){
URL = temp.options[temp.selectedIndex].value
window.open(URL,"newWin"
;
}
works perfectly. I need to know, however, if it's possible to open the window quoting a variable (the value of the selected item) Which I can use in a document.write in the new window.
Basically I want to use a template page whos content is dependant on the selection made.
I've looked through the parameters of the open method (url, name, [options]) and there doesn't seem to be room for a variable.
Any help greatly appreciated
I have included a window.open command to open the target page in a new window
function go(){
URL = temp.options[temp.selectedIndex].value
window.open(URL,"newWin"
}
works perfectly. I need to know, however, if it's possible to open the window quoting a variable (the value of the selected item) Which I can use in a document.write in the new window.
Basically I want to use a template page whos content is dependant on the selection made.
I've looked through the parameters of the open method (url, name, [options]) and there doesn't seem to be room for a variable.
Any help greatly appreciated