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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:52:25+00:00 2026-06-04T23:52:25+00:00

An ajax call creating problem. It works fine in browser but through ajax it

  • 0

An ajax call creating problem. It works fine in browser but through ajax it is not going to called. URL is here http://testbed2.baileyprofile.com/dd-api.php?test=1

When I check it in firefox inspect element console. It sends the request and in about 900 miliseconds or mroe then it give message 200 Ok and url color turn to red. It generate no response at all.

Please any hint what problem it may have.
My code is as under

 jQuery.post(ajaxurl, {action: 'test' }, function(response) {
        if (response!= '') {
             jQuery('#test-result').html("Restule is generated successfully, copy of result has been sent to your inbox").fadeOut(10000);
             document.getElementById("txtFeedback").value= response;
            //console.log(response.data);
            //alert('POST title: ' + response.data.post_title);
        } else {
            // something didn't go well
            console.log(response.status);
        }
    });
  • 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-04T23:52:27+00:00Added an answer on June 4, 2026 at 11:52 pm

    Update:

    I have a.com and sending request to b.com. Is it should make any problem?

    You’re violating the Same origin policy, you can’t make an ajax from domain a.com to b.com

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

Sidebar

Related Questions

Here's my PHP code called during jQuery AJAX call: <?php include '../code_files/conn.php'; $conn =
I'm creating a simple ajax call to retrieve a list of user reviews. I
i have an ajax call and it works good , when i call a
I have a jQuery Ajax call, like so: $(#tags).keyup(function(event) { $.ajax({url: /terms, type: POST,
I have this jQuery ajax call: $.ajax({ url : 'my_action', dataType: 'script', beforeSend :
Im creating a GSP form that i wish to submit using the $.ajax() call.
I have a simple ajax call: $.ajax({url: my_url_here, dataType: 'text', success: function(data, textStatus) {
I am creating a simple ajax call that retrieves the content of a specified
I must be missing something, silly, but here is the problem. I have a
I'm trying to pass an array through jquery ajax call. However, I need to

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.