H
_help_
hello,
Here is my code and it works fine
The problem is that i don't want that the new page (page1.htm or page2.htm
or ...) opens as a new page
I want that page1.htm (or ...) opens in a popup
What must i change ?
----------
<form method="post" name="MyFrmName" action="xxxxx.asp">
<select name="MyChoice" size="1" class="keuzevak1">
<option value="---"> </option>
<option value="Room 1" id="page1.htm">Room 1</option>
<option value="Room 2" id="page2.htm">Room 2</option>
<option value="Room 3" id="page3.htm">Room 3</option>
.........
<INPUT type="button" name="go" value="Go"
onClick="window.location=document.MyFrmName.MyChoice.options[document.MyFrmName.MyChoice.selectedIndex].id">
........
</form>
Here is my code and it works fine
The problem is that i don't want that the new page (page1.htm or page2.htm
or ...) opens as a new page
I want that page1.htm (or ...) opens in a popup
What must i change ?
----------
<form method="post" name="MyFrmName" action="xxxxx.asp">
<select name="MyChoice" size="1" class="keuzevak1">
<option value="---"> </option>
<option value="Room 1" id="page1.htm">Room 1</option>
<option value="Room 2" id="page2.htm">Room 2</option>
<option value="Room 3" id="page3.htm">Room 3</option>
.........
<INPUT type="button" name="go" value="Go"
onClick="window.location=document.MyFrmName.MyChoice.options[document.MyFrmName.MyChoice.selectedIndex].id">
........
</form>