small java question

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
mikegotnaild
Forum Contributor
Posts: 173
Joined: Sat Feb 14, 2004 5:59 pm

small java question

Post by mikegotnaild »

I dont know any java but got this script and need to make it so that it opens these pages in a separate window.

<center>Select a Station:</center><br>
<<FORM>
<SELECT NAME="liste1" SIZE="1">
<OPTION SELECTED VALUE="">-------- Click Here --------</option>

<option value="http://www.live365.com/stations/windsor?play"Rebel Radio</option>
</SELECT>
<INPUT TYPE="button" VALUE="Go"
onClick="if (form.liste1.selectedIndex != 0)
location = form.liste1.options[form.liste1.selectedIndex].value;
else
alert('Please choose a menu item')">
</FORM>

Thanks in advance
mikegotnaild
Forum Contributor
Posts: 173
Joined: Sat Feb 14, 2004 5:59 pm

Post by mikegotnaild »

Your looking at the laziest person in the world. If you want an autograph email me!
mikegotnaild
Forum Contributor
Posts: 173
Joined: Sat Feb 14, 2004 5:59 pm

Post by mikegotnaild »

nevermind _blank works in the path
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

mikegotnaild wrote:Your looking at the laziest person in the world. If you want an autograph email me!
I dont know about a autograph, but i'll take a beer if ya got one =]
Post Reply