Thread Link in Auswahlfeld: OnClick in <slect>-Tag? (8 answers)
Opened by Froschpopo at 2004-01-02 18:31

Froschpopo
 2004-01-02 19:27
#25393 #25393
User since
2003-08-15
2653 Artikel
BenutzerIn
[default_avatar]
funzelt trotzdem nicht !
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
<title>asasd</title>
<script language="JavaScript">
<!--
function profil(url){
var seite = url;
var url = 'http://localhost/'+seite+'.html';
alert(seite);
location.href=url;
}
-->
</head>
<body>
<select name="profil" size="10" onchange="profil(this.value);"><option value="home">Test</option></select>
</body>
</html>

View full thread Link in Auswahlfeld: OnClick in <slect>-Tag?