Ver originalwindow.onload = function(){ var q = prompt("algo"); while(q == ""){ q = prompt("algo"); }};