Breaking News

Editors Picks

Thursday, January 19, 2012

Browser Window Close Confirm


<script type="text/javascript">

window.onbeforeunload = bunload;

function bunload(){
dontleave="Please Use Logout Button ?";
return dontleave;
}

script>

1 comment :

  1. The message is appear when refresh the page its would be appears only once.

    If we use Our Sign Out Method instead of alert than this code makes a problem

    ReplyDelete

Contact Us

Name

Email *

Message *