Java + PHP
| From: | Jan van Schaijk | Date: | Wed, 01 Nov 2000 15:17:18 +0000 |
| Subject: | Java + PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23403@lists.php.net to get a copy of this message | ||
Wow, this is a hard one:
I have a JAVAscript:
<SCRIPT language=JavaScript>
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</SCRIPT>
and pull-downmenu's in PHP:
<select onChange="MM_jumpMenu('parent',this,0)" name=Phone>
<select onChange="MM_jumpMenu('parent',this,0)" name=Sorting>
How can get the selected value (which is in the URL of the <OPTION
value=....> in a PHP-string?
So, if function output location=....?phone=nokia I want to have nokia in a
PHP-string...
Jan