vzhen
vzhen

Reputation: 11157

Need some explaination about history.js by Benjamin

Currently I am facing the ajax URL change problem.

Let's say I have an ajax call, when user click on the div and the div will expand and ajax get data from db but the url doesn't change.

Then I found about html5 history api at firefox website. At the bottom of the page recommend history.js to overcome cross-browser issues.

But then, I found jquery-history.js and jquery-ajaxy , Omg, why there is so much version?

Any suggestion which I have to use? What I want is all my ajax call

And I am using jquery.

Upvotes: 2

Views: 464

Answers (1)

Sean Hogan
Sean Hogan

Reputation: 2920

If you care about URLs and noscript clients then just create a non-AJAX site and enhance it with jquery-pjax.

If you don't care then just use hashes.

Upvotes: 1

Related Questions