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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:11:54+00:00 2026-06-07T14:11:54+00:00

I have an ajax request working in FF, Chrome, Opera and Safari. I tested

  • 0

I have an ajax request working in FF, Chrome, Opera and Safari. I tested it in IE and it does the first of two request. It gets the IP from a php script, but then when it goes to post to my java servlet it doesn’t send out the request; I tested with both fiddle and wireshark and the request isn’t getting sent out. I’ve tried setting ajax cache to false didn’t help. Not sure what it could be. The only difference in the php send out is IE does not send a Client Accept-Charset. This make me believe that the issue has to do with the first request; however it gets back data correctly so I’m kinda stumped ideas? I removed specific addresses, but the rest of the code is more or less the same.
Changed my code so that I do not have embedded request, I get it document ready, stops IE from freezing however it still does not send out. Also it now returns a generic error return on the Ajax Request. Change Code More Like Below

 <script>
$(function()
{
    function myfunction(event) 
    {  
        var email = $("#emailInput").val();
        if (email.indexOf('@') == -1 || email.indexOf('.') == -1)
        {
            alert("Please Enter a Valid Email");
        }
        else
        {   
            var eEmail = "email:" + email +"," + "ip:" + ip;
            Email = "="+encodeURIComponent(eEmail);

            $.support.cors = true;
            $.ajax(
                {
                url: 'myServletURI',
                type: 'POST',
                data: eEmail,
                cache: 'false',
                error: function(xhr,textStatus)
                {
                    alert(textStatus);
                },
                success: function(data)
                { 
                    //I have a JS lib I wrote to parse results
                    var result = makeDictionary(data);
                    if(result["command"] == "failed")
                    {
                        alert("Error");
                    }
                    else
                    {
                        window.location = "goToNextPage.html";
                    }                                                      
                }
            });
        }
    }
return false;
}); 
</script>

Thanks.

  • 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-07T14:11:55+00:00Added an answer on June 7, 2026 at 2:11 pm

    Your comment that you thought it might be a cross-site error makes me thing that maybe this holds your answer: Access denied to jQuery script on IE

    The gist is that you can’t use jquery to make cross site ajax requests in IE, you have to use XDomainRequest.

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

Sidebar

Related Questions

I have an AJAX request to display a list of addresses from the users
Hi I have a jQuery ajax request for a login system. At first, it
I'm working with prototype.js and have the code like below.. new Ajax.Request('url', { asynchronous:
I have created an jquery ajax call and it is working fine in Chrome,
I have ajax request that do 3 missions: Save Model (DB) Send Email Give
I have an Ajax request that can return more than one valid value, so
I have a AJAX request that will return a string that contains some HTML
I have a Ajax request that fires on clicking a href that is part
I have got an ajax request to my Server where i am creating an
I have a jQuery AJAX post request that is unexpectedly triggering the error callback

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.