I want a javascript pop up with okay and cancel, if a user clicks okay then it loads a page.. how can i do this?
Use the javascript function confirm()
If confirm() returns true, use window.location.href to redirect the user.