codice:function conf() { var a = confirm("vuoi accedere al sito?"); if (a) { //tutto a posto alert("ok! entra"); } else { location.href = "http://www.google.com"; } } <body onLoad="conf()">
codice:function conf() { var a = confirm("vuoi accedere al sito?"); if (a) { //tutto a posto alert("ok! entra"); } else { location.href = "http://www.google.com"; } } <body onLoad="conf()">
Heaven's closed. Hell sold out.
Linux 2.6.26-2-amd64
Debian squeeze