Click here to Skip to main content
15,888,241 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hii all, back button coding is not working in IE
the error is
Webpage has expired

Most likely cause:
The local copy of this webpage is out of date, and the website requires that you download it again.

What you can try:
Click on the Refresh button on the toolbar to reload the page. After refreshing, you might need to navigate to the specific webpage again, or re-enter information.

More information
my code is in
<img  önclick="javascript:window.history.back();returen= false;" 

plz help me
Posted
Updated 2-Feb-12 0:26am
v2
Comments
Sridhar Patnayak 2-Feb-12 6:26am    
Pre tags added

Hi,

Try this...

HTML
<img onclick="javascript:history.go(-1);window.location.reload(true);return false;" />
 
Share this answer
 
use this script
XML
<script type="text/javascript">
function noBack(){window.history.forward();}
noBack();
window.onload=noBack;
window.onpageshow=function(evt){if(evt.persisted)noBack();}
window.onunload=function(){void(0);}
    </script>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900