title: onbeforeunload event message error in IE?
body: <p>I use the following event to call when the application will close in Internet Explorer.It was work Fine that means it will call when i close IE browser Tab.And
      My problem is if I close the window I receive the message from Webpage,I receive the 'False'  statement with that message.If I remove the return false statement in this function  I didn't
      access the function.How to hide the False statement from the Msg Box?
      <img src="https://i.stack.imgur.com/QZRC0.jpg" alt="enter image description here"></p>
  
  <pre><code>window.onbeforeunload = function(event) 
  {
  
             if($.browser.msie)
             {
                 alert('Test');
                 return false;
              }
  
   }    
  </code></pre>