Arthur Dent: Nachtrag

Beitrag lesen

Jetzt stehe ich ganz aufm Schlauch.

Wie kriege ich das nun wieder hin?

so:

  
<html><head><title>Test</title>  
<script type="text/javascript">  
  function func()  
  {  
  
    var PopUpName=document.Form.menu.options[document.Form.menu.selectedIndex].firstChild.nodeValue;  
    var win = window.open(document.Form.menu.options[document.Form.menu.selectedIndex].value,PopUpName);  
    win.focus();  
  }  
 </script>  
</head>  
<body>  
  
<form name="Form">  
<select name="menu">  
<option value="http://www.test1.de">test1</option>  
<option value="http://www.test2.de">test2</option>  
</select>  
<input type="button" onClick="func();" value="GO" >  
</form>  
</body></html>  

Gruß,
Arthur D.

--
>> So long, and thanks for all the fish. <<