0

As I have disabled the back button in my application,I want user not to click it (across all browsers).

  • 3
    This post may help you... http://stackoverflow.com/questions/333665/javascript-to-get-an-alert-when-closing-the-browser-window – Bernat Aug 01 '12 at 07:51

1 Answers1

0

$('.button').hover(function(){

alert("This button is not working");

});

but you might like to just change the HREF of it, to href="#", after clicking nothing will happen.

Trouble
  • 428
  • 3
  • 21