View Full Version : drop down menu

08-28-2006, 04:35 PM
i'm trying to use javascript with in my php code but i'm having some problems...

<script language="JavaScript" type="text/JavaScript">
function MM_jumpMenu(targ,selObj,restore){ //v3.0
if (restore) selObj.selectedIndex=0;

<select name="menu" size="1" onChange="MM_jumpMenu('parent',this,0)">

i'd like to use a drop down menu the same way, however i want the same page to be reloaded and a value passed to the reloaded page.. e.g. <option selected value="1">GENERAL</option> this will reload the page and pass the value (samepage.php?1). can anyone help me with this? thanx!