i try to display a confirmation box when clicking a button in JSP. but it does not seem to work.
pls help me solve this issue.
<%@ include file="/common/includes.jsp"%>
var answer = confirm ("Are you sure you want to continue?");
boolean answer= true;
//get confirmation result
//when compile, it complains like "isProcess() is undefined type". what's going on? how to do it in a correct way? pls help!!!
//if confirmation is Yes,continue to do something