Eternius: Warum funktioniert confirm nicht?

Beitrag lesen

macht nix:
so funktionierts:
<script>
function lo(){
return confirm("löschen");
}
</script>
<a href="#" onclick="if(lo()){location.href='http://www.google.de'}">test</a>

oder

<a href="#" onclick=" if (confirm('kill')){location.href='http://www.google.de'}">test</a>

gruss

--
no strict;
no warnings;
Selbstcode: (_*_) ^_^ ( . ) ( . ) :-(bla)