quiza asi
Código PHP:
<script language="Javascript">
<!--by edarkz ---- unknown
function cual(form)
{
var n=form.selectedIndex
switch(n)
{
case 0: correo.action="Ts_progress_upload.asp?<% = PID0 %>"; break;
case 1: correo.action="Ts_progress_upload.asp?<% = PID1 %>"; break;
case 2: correo.action="Ts_progress_upload.asp?<% = PID2 %>"; break;
case 3: correo.action="Ts_progress_upload.asp?<% = PID3 %>"; break;
case 4: correo.action="Ts_progress_upload.asp?<% = PID4 %>"; break;
}
}
//-->
</script>
<form name="correo" action="Ts_progress_upload.asp">
<select name="cuals" onchange="cual(this)">
<option>Opcion 0
<option>Opcion 1
<option>Opcion 2
<option>Opcion 3
<option>Opcion 4
</select>
<input type="submit" value="enviar">
</form>
o con el onsubmit
Código PHP:
<script language="Javascript">
<!--by edarkz ---- unknown
function cual(form)
{
form.action="Ts_progress_upload.asp?<% = PID0 %>&hola=bien"
// o no se lo que tu quieras
}
//-->
</script>
<form name="correo" onsubmit="cual(this)" action="Ts_progress_upload.asp">
<select name="cuals">
<option>Opcion 0
<option>Opcion 1
<option>Opcion 2
<option>Opcion 3
<option>Opcion 4
</select>
<input type="submit" value="enviar">