Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
65
rated 0 times [  72] [ 7]  / answers: 1 / hits: 82491  / 14 Years ago, thu, june 3, 2010, 12:00:00

just i want to make back button in my site. once i click the button it need to take the url in to previous page. how can i make this using jquery?


More From » jquery

 Answers
22

the answer by wRAR is correct, you can use history.back or history.go(-1). However, if you are using ajax, you might need a bit more than that.



Stephen Walter has a nice article on how to use jQuery, ASP.NET, and Browser History which basically describes how to save and restore the application state yourself. I recommend you give a read.



Elijah Manor(co-host of the Official jQuery Podcast) has also written a nice article about this topic.



I hope this helps
-D


[#96590] Wednesday, June 2, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tylor

Total Points: 334
Total Questions: 100
Total Answers: 111

Location: Marshall Islands
Member since Mon, May 31, 2021
3 Years ago
;