[eluser]Bart v B[/eluser]
This is not realy a CI question..
Code:
<html>
<head>
[removed]
<!--
function confirmation() {
var answer = confirm("Delete item?")
if (answer){
alert("Are you sure?")
window.l oc a tion = "http://www.google.com/";
}
else{
alert("Ok i wil do nothing")
}
}
//-->
[removed]
</head>
<body>
<form>
<input type="button">
</form>
</body>
</html>