RESPONDER UNA PREGUNTA

Si para responder la pregunta, crees necesario enviar un archivo adjunto, puedes hacerlo a traves del correo [email protected]

    Pregunta:  67498 - PHP + JAVA
Autor:  Alberto C.C
Saludos...
Necesito ayuda, hay forma de al momento de enviar datos del formulario sean recibidos por el mismo pero que los select se encuentres selecionados con lo antes selecionado , uso el metodo post, .. anexo codigo para su ayuda...

<!--
catego = new Array();
catego[0] = new Array('Agua','Refreco');
catego[1] = new Array('A','B','C','D');

function cambiar(formulario){
var i = 0;
var select1 = formulario['detalle'];
var select2 = formulario['catego'];
var vector = catego[select1.selectedIndex];
if(vector.length)select2.length=vector.length;
while(vector[i]){
select2.options[i].value = vector[i];
select2.options[i].text = vector[i];
i++;
}
select2.options[0].selected = 1;
}
-->
</script>
</head>
<body>
<form method="POST">
<select name="detalle" onChange="cambiar(this.form)">
<option value="1"> Productos</option>
<option value="2"> Adicional</option>
</select>

<select name="catego">
<option value="">Selecionar</option>
</select>


Nombre
Apellidos
Correo
Comentarios