Tuesday, September 30, 2008

[jQuery] Re: Intercept "Back" button click on browser

Leanan wrote on 9/30/2008 10:10 AM:
> How can I make it so that when the user clicks the back button in
> their browser, this same thing happens, as I'll likely have people
> trying to click the back button instead of the back link on the "page"
> and then tell me it's broken. Is it even possible?

You'll want to use one of the history plug-ins:

http://plugins.jquery.com/project/history
http://plugins.jquery.com/project/jHistory

And the jQuery UI project has a history feature, although it sounds like it needs some work:

http://docs.jquery.com/UI/Tabs#Does_UI_Tabs_support_back_button_and_bookmarking_of_tabs.3F


- Bil

No comments: