Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6032257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:18:26+00:00 2026-05-23T05:18:26+00:00

I need to ajaxify my site, like loading a spinner or something for rendering

  • 0

I need to ajaxify my site, like loading a spinner or something for rendering specific content in a page when clicking a link.

I have found 2 good jQuery plugins.

  • https://github.com/defunkt/jquery-pjax
  • https://github.com/browserstate/history.js

What is their main difference? It seems they are doing the same job. Well, maybe one uses the ajax then returns the html (pjax) and one uses a so-called html5 push state or something.

Is there another way doing this? (simpler or with only jQuery) I think it’s too overkill to use either of those plugins (but I’m not sure if there is a simpler way for doing this).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:18:27+00:00Added an answer on May 23, 2026 at 5:18 am

    author of History.js here.

    • History.js is extremely low-level and just focuses on providing a cross-browser compatible interface for the HTML5 History API
    • PJAX is high-level and utilises the HTML5 History API to provide a an interface for upgrading your website with AJAX using the two technologies.

    So you can get PJAX to use History.js so that it supports cross browsers. There is actually a request about this here.

    Though that doesn’t mean History.js leaves you on your own either in regards to AJAX, it does provide you with a high-level sample for using History.js with AJAX here and you can find more info about how that was created here. Essentially that gist and PJAX do the same thing, but they have gone about them in different ways.

    In regards to simpler, History.js is the most low-level basic shortest simple thing you can get which will ensure the HTML5 History API works in all browsers – that’s it’s aim, to be as low-level and compact as possible so other things can extend it the way they want – such as PJAX or that Gist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need something simulat jcrop plucgin (link to example is here: http://publikz.com/one-more-task-rounded-selection-in-jquery/ ) but with
Need some help. I have a table with some columns..like name , phone etc...
Need for two dimensional array of objects that could be something like: myContainer<myObject*> *a
need ask you about some help. I have web app running in Net 2.0.
Need a function like: function isGoogleURL(url) { ... } that returns true iff URL
Need some help about with Memcache. I have created a class and want to
Need to insert selected text on the page into textarea. There must be some
need to add a 2nd css stylesheet to a page. do i add a
Let's take a really simple example on using jQuery to ajaxify our page... $.load(getOrders.aspx,
need a little help with this one. I have a form that I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.