Menu
i have a question regarding opening a link in a new window.
This piece of code generates an url:
[CODE]
<input
style=”LEFT: 4.844in; WIDTH: 52px; POSITION: absolute; TOP: 0.083in; HEIGHT: 20px”
onclick=”document.location=’../Drawings/’ + this.form.txtlink.value;” type=”button”
size=”1″ value=”Launch”></p>
this part
[CODE]this.form.txtlink.value;”
points to a value in a textbox.
Now i would like these urls to open in a new window. is there anyone that can help me out?
I’ve tried chaning document.location into window.open, but then nothing happends when i click.
Any ideas?