JQuery AJAX Post throwing error in Firefox??

JQuery AJAX Post throwing error in Firefox??

I am having an issue with Firefox for jquery ajax post. This functionality is working IE (not in Firefox). In IE controller is reaching to [webmethod] in server side. But this is not happening to Firefox.

I don't understand the problem. I place JavaScript debug in firebug, nothing showing there too.

  1. var save = function(saveUrl) { 
    var $value = $("#Body_hiddenClientId");
     var $container = $("#grid"); 
    var handsontable = $container.data('handsontable'); 
    var tableData = JSON.stringify(handsontable.getData()); 
    var input = JSON.stringify({ "input": tableData }); 
    $.ajax({ 
    url: saveUrl, 
    type: 'POST', 
    dataType: 'json', 
    data: input, 
    contentType: 'application/json; charset=utf-8', 
    success: function(res) { 
             if (res.d === 'ok') { // handsontable('render'); 
             $('#grid').handsontable('destroy'); 
             getData(); }
     $.unblockUI(); 
    }, 
    error: function (xhr) { 
    alert(JSON.stringify(xhr.responseText)); // alert(xhr); 
    } 
    });
     };



Update:

finally I captured watch window in firebug. After this error page is refreshing.. It is hard to hold error.