confirm dialog box and redirect page when a button is click
911012Jan 18 2012 — edited Jan 18 2012Trying to make a cancel button that would pop up a confirm dialog box if ok redirect to like page 1(homepage)
I tried copying the code
javascript:apex.confirm('Are you sure you want to cancel','CANCEL');
but im having a hard time figuring out how to redirect the page.