Mongoloidman
09-08-2004, 11:51 PM
<form id="form" action="" onSubmit="this.action='tours/' + this.tourNum.value + '/index.htm'">
<div align="Center"><span class="glink style6">MLS number: </span>
<input id="tourNum" type="text" size="10">
<label>
<input type="submit" name="Submit" value="Go">
</label>
</div>
</form>
I am using this code to have the user find a link on my website but i want it to pop up in a new window.
I am familar with the onclick="window.open and all the commands that i want to control it with(width, height, ect...) but how can i incorporate window.open or anything else to make this form return a popup window.
<div align="Center"><span class="glink style6">MLS number: </span>
<input id="tourNum" type="text" size="10">
<label>
<input type="submit" name="Submit" value="Go">
</label>
</div>
</form>
I am using this code to have the user find a link on my website but i want it to pop up in a new window.
I am familar with the onclick="window.open and all the commands that i want to control it with(width, height, ect...) but how can i incorporate window.open or anything else to make this form return a popup window.