how to hold the back button in Internet explorer to doAnything but without do it in refresh? : ** I need to use the back button in IE but when i use it with onload function it call the function in refresh or in back button or changing the URL i need it just when i need it call just when i clicked the back button **
------------------------------------------------------------------------




    <pre>
    <!DOCTYPE html>
    <html>
    <head>
    	<h1>try the back button in IE</h1>
    	<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
    	<SCRIPT type="text/javascript">
    		function doBack()
    					{
    						alert("you are clicking back "+window.location.href);
    					}
    	</SCRIPT>
    </head>
    <body  onload="doBack();">
    
    </body>
    
    </html>
    </pre>