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 7737345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:58:22+00:00 2026-06-01T07:58:22+00:00

Internet Explorer appears to be the only major browser that does not support pushState

  • 0

Internet Explorer appears to be the only major browser that does not support pushState to handle history for AJAX submissions. So everywhere I have:

$.bbq.pushState(hash);

in my AJAX code, I have to add another line:

$.ajax(hash);

This of course causes a double-submission in all non-IE browsers that DO support submission via pushState().

What can I do to avoid these double submissions?

  • 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-06-01T07:58:23+00:00Added an answer on June 1, 2026 at 7:58 am

    Just call $.ajax(hash); in a conditional statement only if the history.pushState is not natively supported

    if (!history.pushState) {
       $.ajax(hash);
    }
    

    I also suggest to refactor your code using a unique wrapper function accepting an hash as parameter with the necessary logic, e.g.

    var pushStateWrapper = function(hash) {
    
        if (!history.pushState) {
           $.ajax(hash);
        }
        else {
           $.bbq.pushState(hash);
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to fix a bug that only appears in internet explorer 6. The
Internet Explorer does not like my Jquery selector. Not sure if it's my weak
For Internet Explorer only it seems that the target (srcElement) of clicks, mousedowns, mouseups,
For some reason, only the top half of a button appears in Internet Explorer.
My Silverlight 'window' appears larger in Internet Explorer than it does in FireFox or
I found a weird bug that only occurs in Internet Explorer (6 through 9).
This problem only occurs in Internet Explorer 8 & 9 I have two dropdowns
As always, there is something that works in FF but does not work correctly
In the following example, the word Test is not clickable in Internet Explorer, even
Internet explorer seems to be hang after you tab through form inputs while holding

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.