+ 2
How to use select tag within link new page
<select>
2 ответов
+ 11
<select name="forma" onchange ="location = this.value;"> <option value="Home.php">Hom e</option> <option value="Contact.php"> Contact</option> <option value="Sitemap.php"> Sitemap</option> </select>
+ 9
or you can use javascript to do so like this <code> <select name="formal" onchang e="javascript:handleSelect(th is)"> <option value="home">Home</op tion> <option value="contact">Conta ct</option> </select>
<script type="text/javascript "> function handleSelect(elm) { window.location = elm.value+" .php"; } </script></code>