Specify target with button

Associate
Joined
16 Mar 2004
Posts
1,921
Location
Oxford
I have a button that works and loads the file as it should, the only problem with this is that it opens in a new window and it needs to open in the inline frame called "status1". I just cant figure out where to add the target="..." part.

Any ideas, here is the code for the button:

Code:
	<input name="Button" type="button" id="button" target="status1" onclick="window.open('STATUS.txt')" value="Current Week Status"/>
 
Thanks for your help, I was beginning to wonder if it was even possible to get it to open in the inline frame.

The MSDN link is good, added to favourites.

Thanks again

Jamauk
 
Back
Top Bottom