Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function confirmIt(){
if (confirm('Go to the next page?'))
//user pressed OK -- do something
location = 'somePage.asp';
else
//user pressed CANCEL -- put a return here
return;
}
<input type=button value="Go to next page" onClick="confirmIt();">