Tengo un script para la entrada a mi web con una pregunta y solo dos opciones:
ACEPTAR Yy CANCELAR.
El problema es que en internet explorer no me funciona y sale directamente la pagina sin hacer la pregunta que esta mal o como hacer que funcione en ambos navegadores?
este es el script:
<script type="text/javascript">
<!--
function checkAGE()
{
if
(!confirm
("LA PREGUNTA CON LAS DOS POSIBLES OPCIONES "))
history.go(-1);return " "
}
document.writeln(checkAGE())
// -->
</script>
GRACIAS Y UN SALUDO
ACEPTAR Yy CANCELAR.
El problema es que en internet explorer no me funciona y sale directamente la pagina sin hacer la pregunta que esta mal o como hacer que funcione en ambos navegadores?
este es el script:
<script type="text/javascript">
<!--
function checkAGE()
{
if
(!confirm
("LA PREGUNTA CON LAS DOS POSIBLES OPCIONES "))
history.go(-1);return " "
}
document.writeln(checkAGE())
// -->
</script>
GRACIAS Y UN SALUDO