Ver Mensaje Individual
  #11 (permalink)  
Antiguo 25/07/2008, 23:19
Avatar de xbx
xbx
 
Fecha de Ingreso: mayo-2008
Ubicación: /home/xbx
Mensajes: 301
Antigüedad: 16 años, 8 meses
Puntos: 11
Respuesta: Error SOBRENATURAL en función escape()

jajajaj. Tranquilo

Yo probe esto y a mi me funciona ok en firefox.

Código HTML:
<html>
<head>
<script>
function valida()
{
 var form = document.getElementById("form");

 form.action = "?hola=" + escape("a b");

 return true;
}
</script>
</head>

<body>
    <form id="form" action="" method="post" onsubmit="return valida();">
    <input type="text" value="hola" />
    <input type="submit" value="enviar"/>
    </form>
</body>

</html> 
Pruebalo tú y dime si te funciona.

De lo contrario, te pasaré otra solucion, que 100% si va a andar.