How to disable internet explorer error
hi all while i am clicking on button below error from internet explorer coming how to not to show this error"To display the webpage again, the web browser needs to
resend the information you've previously submitted".
my button is:
<button type="button" data-dismiss="modal" onclick="AcknowledgeOrder('@item.OrderId')"><i></i> @Resources.Resource.txtacknwldge</button>
my jquery code is
function AcknowledgeOrder(orderId) {
$.ajax({
type: "POST",
url: '@Url.RouteUrl("Default", new RouteValueDictionary(new { action = "Acknowledge", controller = "Summary"}), "http", ConfigurationManager.AppSettings["ContextPath"])',
crossDomain: true,
data: JSON.stringify({ 'OrderId': orderId}),
contentType: 'application/json; charset=utf-8',
success: function(successdata) {
//$('#ViewHistoryConfigModel').html(successdata);
//$('#ViewHistoryConfigModel').modal('show');
if (successdata.success) {
//location.href=location.href;
window.location.reload(true);
}
if (!successdata.success) {
$('#aperakErrorModalAck').modal('show');
}
},
error: function (xhr, status, error) {
}
});
};