While not PHP, this is a JS question.. <FORM NAME="JumpForm"> <SELECT NAME="JumpItem" onChange="jump_page();"> <OPTION VALUE='login_me_main.php'>My Account <OPTION VALUE='login_new_main.php'>Sign Up! </SELECT> </FORM> <SCRIPT> function jump_page() { with ( document.JumpForm ) { if ( JumpItem.value != "" ) document.location = JumpItem.value; } } //jump_page() </SCRIPT> > -----Original Message----- > From: Ross [mailto:ross@xxxxxxxxxxxxx] > Sent: Thursday, December 22, 2005 3:02 AM > To: php-general@xxxxxxxxxxxxx > Subject: a quick one, self submitting jump menu > > > How can I self submit a page whne registered globals are off. > Is there a way > to use $_SERVER? > > What I am ultimately trying to do is use values from a jump menu... > > <form name="form2" id="form2" action=">"> > <select name="menu1" onchange="MM_jumpMenu('parent',this,0)"> > <option >option1</option> > <option >option2</option> > > </select> > </form> > > > to self submit and use the submitted values in a if-else or > CASE statement. > This is all on the same page. > > > Ross > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php