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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:40:30+00:00 2026-06-15T17:40:30+00:00

My calls to $.post are not working all over my code. I’m not sending

  • 0

My calls to $.post are not working all over my code. I’m not sending the request to other domains and, actually, I’m doing everything localhosted. My localhost alias was automatically defined by the Mac OS X 10.8 as ramon.local and I’m requesting from http://ramon.local/linkebuy_0.7/resourceX to http://ramon.local/linkebuy_0.7/resourceY. There are no errors on Chrome’s console.

The server side doesn’t receive the request and I can check it by accessing directly from the browser (typing the URL).

It’s not just one call that is not working, none of them are. They were all working days ago and I’m suspicious that I accidentally changed something on my local settings. What could it be?

Here’s an example of what I’m facing:

$.post(
    <<CORRECT URL INSIDE THE DOMAIN>>,
    {},
    function(response) {
        console.log('THIS SHOULD BE PRINTED ON CONSOLE');
        alert('THIS SHOULD BE POPPED UP');
    }
);

I don’t get the alert, neither the console message while running the code above. So I tried the following:

$.support.cors = true;
$.ajax({
    url: "http://ramon.local/linkebuy_0.7",
    dataType: "json",
    type: "GET",
    crossDomain: true,
    success: function (data) {
        console.log(data);
    },
    error: function (xhr, status, error) {
        alert(error + " - " + status);
    }
});

I just came with $.support.cors = true; and crossDomain: true to check if it was a cross domain issue. So I was alerted No Transport - error same way as before.

What can I do to solve that?

Thanks in advance.

  • 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-15T17:40:31+00:00Added an answer on June 15, 2026 at 5:40 pm

    Well, I solved the problem in a very strange way.

    I deleted the JQuery file and downloaded it again, replacing the old one. Happens it worked out.

    So, if you’re:

    • Making AJAX requests that are not cross-domain;
    • Using JQuery for it (e.g. $.post, $.get, etc);
    • Getting No Transport AJAX error

    Then re-download and replace you’re JQuery source.

    Else, if you’re making cross-domain requests (not this case), then look for JSONP and try to set $.support.cors = true; at the beginning of you’re code.

    Thanks everyone for the comments and answers.

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

Sidebar

Related Questions

I usually don't post questions on these forums, but I've searched all over the
File uploads not working within jQuery UI Dialog From the post above, Dialog moves
I'm working on a .NET app that calls 3rd party web services over the
I have nested ajax calls that are not working in ie7. They work fine
I am using the post and get methods for Ajax calls, and have a
In Visual Studio 2008 we run a post build event which calls NANT and
I'm working with a .NET based Web Service where some of the API calls
I have a $.post function inside of a loop. All it does it call
So I'm working on a BST, building the delete tools. My code sequence seems
<a href=PHP/LogOut.php id=LogOut>Log Out</a> the link a#LogOut calls a PHP script that ends all

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.