I have the following script on a page:
<script>
function fnPage(){
var page = prompt("Para quel página deseja ir?");
if (page != null) {
location.href="http://" + page;
}
}
</script>
When I populate with the address of The popup appears normally with space to fill with an address, but the redirect does not work when I click OK. Does anyone know where the error is?