Hi !!
das geht z.B. so:
Gruß JanCode:<html> <head> <title></title> <script language="JavaScript"> function machmal(f) { alert(f.test.options[f.test.selectedIndex].value); } </script> </head> <body> <form name="formular"> <select name="test"> <option value="Ja">Ja...</option> <option value="Nein">Nein...</option> </select> <input type="button" onclick="machmal(this.form)" value="und?"> <a href="javascript:machmal(document.formular);">test</a> </form> </body> </html>


LinkBack URL
About LinkBacks
Zitieren