javascript - Confirm message on browser page close -
$(window).bind('beforeunload', function() {return 'are shure?';} ); how must if user click cancel button page redirect http://mypage.com?
you cannot change happens when user clicks 1 of buttons in dialog. intentional. nobody wants have web sites mess navigation level.
Comments
Post a Comment