Pero hay alguna manera de hacerlo sin la interacción de los usuarios
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
<script language="javascript">
var popup_url = "***********"
var atributos = "width=600,height=400,scrollbars=0,resizable=1,toolbar=0,location=0,menubar=0,status=0,directories=0"
var pop_under = 0 //1-sera un "pop under"
function muestra_popup(){
popup_vfmail = window.open( popup_url, "", atributos)
if (pop_under) {
popup_vfmail.blur() //
window.focus() //esto devuelve el foco a la ventana actual
}
}
muestra_popup();
</script>
<body >
<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>prueba</title>
</head><body>
<script type="text/javascript">
function valo(){
for(var i=0;i<10;i++){
setTimeout(document.getElementById("nombre").value = Math.random(),500);
}
}
</script>
<form method="post" action="prueba.html" name="prueba"><input id="nombre" name="nombre"> Nombre<br>
<input onclick="valo()" value="averiguar" type="button">
</form>
<br>
<br>
</body></html>