Click here to Skip to main content
15,906,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using this code
XML
<script language="javascript" type="text/javascript">

        function getback() {
            window.history.back();
            return false;
        }

</script>


This code is working but after few sec again its redirecting on same page
Posted
Comments
karthik Udhayakumar 19-Apr-14 2:32am    
Hi,
Do you want to enable the browsers forward and backward button using javascript?
Member 10310320 19-Apr-14 2:58am    
No i want to implement my own forward and backward button same as web browser.

1 solution

Hello ,
pls follow this
http://www.w3schools.com/js/js_window_history.asp[^]

All the best:)
 
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