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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:08:46+00:00 2026-05-24T04:08:46+00:00

var jqxhr = $.post(url, $(#saveShipAdrs).serialize(), function(response) { // set form values to view var

  • 0
var jqxhr = $.post(url, $("#saveShipAdrs").serialize(), function(response) {
      // set form values to view
      var fld;
      $('#editShipAdrs input[name*="Livraison"]').each(function(){ 
          fld = "#show"+$(this).attr("name");
          $(fld).html($(this).val());
      });
      // set success message
      $(".success").html("Shipping address updated");
    })
    .error(function(xhr, ajaxOptions, thrownError) {
         $(".error").html("Shipping address cannot be updated");
         alert(xhr.status+"\n"+xhr.statusText+"\n"+thrownError);
    });
 });

Here “saveShipAdrs” is the id of the form.

This code works fine in FF but not in IE.
in IE it gives

xhr.status = 0
xhr.statusText = error
thrownError = Invalid Argument

I have tried for serializeArray and tried looking for other similar questions but didn’t find the solution.

  • 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-24T04:08:46+00:00Added an answer on May 24, 2026 at 4:08 am

    Dr.Molle suggested, status 0 is returned when the request is cancelled because of a different domain.

    Here the issue was, I kept the action attribute of form tag empty to submit on self ( action=”” ).

    Which doesn’t mean that the domain is different but when I put the current page’s URL in action attribute, the problem fixed.

    If anybody wants to explain in detail that what was the exact issue for empty action, it would be appreciated.

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

Sidebar

Related Questions

var url = /MyApp/pspace/filter; var data = JSON.stringify(myData); $.post( url, data, function(response, textStatus, jqXHR)
$('form[id^=comment_add]').live(submit,function() { var id= this.id.replace(/[^\d]+/g,''); $.post($(this).attr('action'), $(#comment_add+id).serialize(), function(data) { /*do something*/ }) .error(function(jqXHR, textStatus,
I have this code : jQuery('#btSave').click(function (event) { var jqxhr = $.post(Controller/Action, { lastName:
javascript $('#send').on('click', function() { $.ajax({ 'url': $('#url').val(), 'type': 'post', 'complete': function (jqXHR, textStatus) {
var jqxhr = $.post(/cms/menu_pagesave, { page_id: pageID, name : value_td, url : value_url },
I have this piece of code: function CallAPI(paramString) { var returnVal; var jqxhr =
I call an action method with a jquery post : $('#selector').click(function (event) { var
var y = new w(); var x = y.z; y.z= function() { doOneThing(); x();
var htm = $.ajax({ type: GET, url: ./viewforms, async: false }).responseText; var myObject =
var thumbs = document.getElementsByTagName(img); for (var i=0; i<thumbs.length; i++) { Core.addEventListener(thumbs[i], click, function() {alert(i);});

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.