hi guys,
this code works fine in IE but doesnot work in opera. the page just
reloads to test.html# in opera.
can anyone help? thanks.
-----------------------------------------------------------------------
<html>
<head><script language="JavaS cript" type="text/JavaScript">
function disco() {
if( confirm('are you sure?') ) {
window.location ="http://wwww.google.com ";
}
}
</script>
</head>
<body>
<a href="#" onClick="javasc ript:disco()">D éconnexi on</a></body>
</html>
this code works fine in IE but doesnot work in opera. the page just
reloads to test.html# in opera.
can anyone help? thanks.
-----------------------------------------------------------------------
<html>
<head><script language="JavaS cript" type="text/JavaScript">
function disco() {
if( confirm('are you sure?') ) {
window.location ="http://wwww.google.com ";
}
}
</script>
</head>
<body>
<a href="#" onClick="javasc ript:disco()">D éconnexi on</a></body>
</html>
Comment