How can I retain alerts in js?
Normally the browser asks you:
Quieres volver a ver este tipo de mensajes?
Example:
<html>
<head>
<title>Ejemplo</title>
<script>
function mensaje() {
alert('Este es el mensaje que me refiero. El que esta debajo de este mensaje');
}
</script>
</head>
<body onload="mensaje();">
Ejemplo
</body>
</html>
Well they can be omitted or simply closed.
My goal is to keep the alerts until the correct answer is met with no option to close or cancel the alert.