Hi guys,
I have the following JavaScript
<script language=javascript>
function lastCheck() {
var rval;
rval = confirm("Are you sure you want to proceed");
if( rval == true ) { doSmth()}
}
</script>
For some reasons, if I put the above script not with php but I get warnings regarding "Cannot add header information"
Is there anyway I can get rid off those warnings?
Thank you.