Ver Mensaje Individual
  #13 (permalink)  
Antiguo 20/08/2007, 07:57
Randill
 
Fecha de Ingreso: agosto-2003
Mensajes: 52
Antigüedad: 21 años, 6 meses
Puntos: 0
Re: En un action, como evitar que pase el name="nombre_que_ sea" del input???

Esto lo probe y me funciona sin problemas en Firefox e IE
Código PHP:
<script language="javascript">
function 
pasaValor(){
document.getElementById("Tres").value document.getElementById("Dos").value document.getElementById("Uno").value;
}

function 
enviaform(){
location.href="URL" document.getElementById("Uno").value "URL" document.getElementById("Dos").value "URL" document.getElementById("Dos").value "URL";
}

</script>
</HEAD>
<body>
<form>
<input type=text id="Uno" value="" SIZE="10" onKeyUp="pasaValor()">
<input type="hidden" id="Dos">
<input type="hidden" id="Tres">
<input type="button" Onclick="enviaform()" value="Buscar">
<input type="reset"  value="Borrar">
</form>