Click here to Skip to main content
15,899,555 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
javascript:window.history.back() function is not working in asp.net but it is working some time please help me about this problems

your answer is: javascript:window.history.go(-1);
this is also not working please give me another answer
thank you
Posted
Updated 22-Apr-11 6:10am
v3
Comments
Sandeep Mewara 22-Apr-11 12:21pm    
The question should be properly framed with what are you trying to do and why.

Maybe this helps :
javascript:window.history.go(-1);
 
Share this answer
 
yes,

You can do javascript:window.history.go(-1);

If you have no history in the browser, eg previous pages, then the history.back(); method will not work.

refer this link,
History back() Method
 
Share this answer
 
v2

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