Nieuw lid |
|
<head>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<form name="form1">
<select name="menu" onChange="MM_jumpMenu('parent',this,0)">
<option value="pagina.htm">item1</option>
</select>
</form>
</body>
</html>
<head> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ +".location='"+selObj .options [selObj .selectedIndex ].value +"'"); if (restore) selObj.selectedIndex=0; } //--> </script> </head> <body> <form name="form1"> <select name="menu" onChange="MM_jumpMenu('parent',this,0)"> <option value="pagina.htm">item1</option> </select> </form> </body> </html>
De vraag is, Hoe kan ik dan de geselecteeder waarde ook nog eens meegeven via de $_post |