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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:05:14+00:00 2026-06-05T03:05:14+00:00

Ladies / Gents: Doing a $.post which works fine in Chrome & FireFox. IE

  • 0

Ladies / Gents:

Doing a $.post which works fine in Chrome & FireFox. IE – not so much…the success callback (addTicketAndRender()) never gets hit:

http://jsfiddle.net/AeQxJ/1/

I’ve read something about needing to do “cache-busting” against IE with my POST, but I’m relatively new to this stuff so don’t know if that’s the appropriate thing to try and if so, how to do it.

Source:

function addTicketAndRender(incomingTicket) {

    console.log("Add and Render");
    alert(incomingTicket);
}



$(document).ready(function() {

    console.log('ready');

    // variables to feed trusted ticket retrieval
    var trustedURL = "http://tableau.russellchristopher.org/trusted",
        userName = "foo",
        serverURL = "http://tableau.russellchristopher.org/";



    $.post(trustedURL, {
        username: userName,
        server: serverURL,
        client_ip: "",
        target_site: "",
        cache: "false"
    }, function(response) {
        addTicketAndRender(response);
    });

});​

Little help, please?

Update1: Switched this out to an ajax post: No difference. Still good on Chrome and Firefox, still dead in IE:

    $.ajax( {
      url : trustedURL,
      type: "POST",
      data : {
        username : userName,
        server : serverURL,
        client_ip : "",
        target_site : "" 
      },    
      cache : false


    } ).done( addTicketAndRender );

Update2: Integrated additional cache-busting technique. Same behavior – Chrome/FF works, nothing from IE – Using Fiddler, I can see the POST go out when running the code below from http://jsfiddle.net/AeQxJ/3//. In IE, that never happens. Tested outside of jsfiddle and see the same result. Next step: Rule out stupid IE browser settings on my part by testing on a box where I haven’t touched browser settings.

function addTicketAndRender(incomingTicket){


    alert(incomingTicket);
}

$(document).ready(function() {
   // variables to feed trusted ticket retrieval

    var trustedURL = "http://tableau.russellchristopher.org/trusted",
        userName = "foo",
        serverURL = "http://tableau.russellchristopher.org/";

var number=Math.floor(Math.random()*1);
$.ajax( {
      url : trustedURL + "?" + number,
      type: "POST",
      data : {
        username : userName,
        server : serverURL,
        client_ip : "",
        target_site : "" 
      },    
      cache : false
     } ).done( addTicketAndRender );

});​

Update 4: Ruled out my copy of IE as an issue. Added error trapping code to the POST, and ONLY when running in IE, I see this thrown:

         error: function(xhr, textStatus, error){
              alert(xhr.statusText);
              alert(textStatus);
              alert(error);

//output:

//    xhr.StatusText: No Transport
//    testSttus: Error
//    error: No Transport

Searching on “IE No Transport jquery POST” leads me here:

jQuery Call to WebService returns "No Transport" error

Post indicates adding jQuery.support.cors = true; should resolve the issue, but when I do, errors are returned:

//output:

//    xhr.StatusText: Error: Access is denied
//    testSttus: Error
//    error: Error: Access is denied
  • 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-05T03:05:16+00:00Added an answer on June 5, 2026 at 3:05 am

    If the cache: false is not working for you, the old school way was to add a get parameter to the url, like a random number, so:

    var number=Math.floor(Math.random()*1)
    $.ajax( {
          url : trustedURL + "?" + number,
          type: "POST",
          data : {
            username : userName,
            server : serverURL,
            client_ip : "",
            target_site : "" 
          },    
          cache : false
    
    
        } ).done( addTicketAndRender );
    

    This should help you debugging as well (change from random number to sequential). If still doesnt work I remove .done and use something like complete i.e.

    $.ajax( {
          url : trustedURL,
          type: "POST",
          data : {
            username : userName,
            server : serverURL,
            client_ip : "",
            target_site : "" 
          },    
          cache : false,
          complete : function() {
             addTicketAndRender
          }
      });
    

    One last thing, if your doing this using your jsfiddle page, make sure you remove console.log() from your code, as this will cause IE to break (it doesn’t understand console.log).

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

Sidebar

Related Questions

Good afternoon ladies and gents. So, it is not my day for errors. Implementing
Ladies and gents, I have a CRM page which references 3 js files, (1x
Ladies and gents, I found a very strange behavior which I cannot explain: Assume
Ladies, gentlemen. I was reading Google's documentation for Closure Templates. There's not that much
Hello ladies and gents, I'm having a bit of problem with accept() . I
Ladies & Gentlemen, Short Version: Trying to dynamically create a Spine Model Class. Basically
Ladies and gentlemen, I am working hard on a new webapplication which is based
Good Evening Stackoverflow Lords & Ladies, I am attempting to develop a Layar layer
Ladies and Gents, My best friends and I do a Secret Santa type gift
Hello again ladies and gents! OK, following on from my other question on ASP.NET

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.