Redireccionamiento en Diferentes Navegadores
Utilizando un redireccionamiento del tipo window.location.href, éste funciona perfectamente en IE 6 y superiores, pero no funcionaba en Firefox, Safari, Opera y Chrome.
El Problema:
OnChange="window.location.href('archivo_destino.ext')"
La Solución
OnChange = "window.location.href = 'archivo_destino.ext'; "
el archivo_destino.ext, puede ser cualquier tipo de archivo e incluir variables y parámetros sin problemas. Son los paréntesis los que generaban la no lectura o reconocimiento de la instrucción.
Soporte Técnico ILIA Consultores
Labels: Location.href, redireccionamiento IE
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home