0

I have this jQuery code:

var strURL = "svcs/mapHelper.aspx";
var strPost = "action=add&mapId=<%= getCurrentMapId() %>&coordX=" + fltX + "&coordY=" + fltY + "&coordName=" + strCoordName + "&ipRanges=" + strIPRanges;

$.post(strURL, strPost, function(data) {
    strResponse = data;
    console.log(strResponse);
    if (data == 'Added') {
        //$('#postResult').text(strResponse);
        $('#inp_coordName').val('');
        $('#spn_addIPwarnings').val('');
        $('#addCoordinate').dialog('close');
        location.reload();
    } else {
        $('#spn_addIPwarnings').text('Error when adding region');
    }
});

and it works fine on most browsers, but I have a client, using chrome, and it appears that the form data in strPost doesn't post, I don't see it in the network Form Data in the chrome debug window... What can it be ???

Sameer Azazi
  • 1,503
  • 10
  • 16
Liran Friedman
  • 4,027
  • 13
  • 53
  • 96

0 Answers0