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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:33:49+00:00 2026-05-26T02:33:49+00:00

I have the following AJAX function: function ajaxDesignerBrandInfo() { var D = wrapFormValues(‘#designer-brand-form’); var

  • 0

I have the following AJAX function:

function ajaxDesignerBrandInfo()
{
    var D = wrapFormValues('#designer-brand-form');
    var recursiveEncoded = $.param(D);  
    /*
    $.post("/api/designer_brand/", { data : recursiveEncoded }, function(data) 
    {
        var results = $.parseJSON(data);
        window.location = "/register/designer-product/"; 
    });*/

    $.ajax( { type: "POST", 
              url: "/api/designer_brand/", 
              data : { data : recursiveEncoded },
              success: function(data) { 
                console.log(data);
                setTimeout(function() {
                window.location = "/register/designer-product/";
            },0);
              },
              error: function (xhr, ajaxOptions, thrownError ){
                                alert(xhr.status);
                                alert(thrownError); }
        });

    return false;   

}

And the corresponding form

<form id="designer-brand-form" name="form" method="post" action="" onSubmit="ajaxDesignerBrandInfo(); return false;"> 
....
</form>

The submission works great on Chrome, Safari and FireFox, moving me to

/register/designer-product/

Correctly, but in IE9, the submissions seems to

  1. Never make it to the server

  2. clear the form and redirect back to the current page i am on (in which this form exists).

I can confirm via FireFox there are no javascript errors causing this to fail. And sometimes it actually works, but I cannot seem to always reproduce this error in the same way

Someone Please explain WTF is going on?

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-05-26T02:33:50+00:00Added an answer on May 26, 2026 at 2:33 am

    I believe your issue is that IE is silently throwing a Javascript error. Just because Firefox doesn’t throw a JS error one doesn’t mean that IE doesn’t. Check for JS errors in IE (see this link or this one). Find the error and you’ll find the solution.

    Also, try Fiddler, which is a standalone Windows tool that acts as a proxy server and will tell you EXACTLY what your AJAX traffic looks like.

    Your specific problem may be the console.log call. That is a Firebug thing (that Chrome supports). IE does not, I think, unless you take steps to add it. See: What happened to console.log in IE8?

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

Sidebar

Related Questions

I have the following code . var last_id = ''; $('.products').each(function(){ $.ajax({ type: POST,
i have the following javascript to post a form through ajax without refreshing the
I have the following jQuery ajax call setup: function Testing() { var result =
I have the following Ajax call: function ajaxCall(soap, url){ // Post SOAP request. $.ajax({
I have the following form that has 2 selects: <form id=form class=form_visitar method=post action=ajax/selects.php>
I have the following ajax serialize: $.ajax({ type: POST, url: $form.attr('action'), data: $form.serialize(), error:
I have the following AJAX function with JQuery: var formData = $('#FonykerEditForm').serialize(); $.ajax ({
I have the following jQuery AJAX request: function sendUpdate(urlToSend) { var code = AccessCode;
I have the following extremely basic $.ajax function: function doAjax(url, args){ var retVal =
I have the following code that works on Firefox and Chrome $("#adicionarItem").click(function(){ $.ajax({ type:

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.