Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
i am developing an cms application using dnn. In my module i have call an ajax so data retrieval. There is no problem with the ohter browser like firefox but when i tried to open from chrome the ajax is not being fired. I have use jquery ajax. The ajax i have used is
$.ajax({
type: "POST",
async: "false",
url: location.href,
data: ({ 'FUNCTION': 'LoadData' }),
success: function (dataset) {
alert("success");
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert("error--" + errorThrown);
},
beforeSend: function (xhr) { xhr.setRequestHeader("X-OFFICIAL-REQUEST", "TRUE"); },
complete: function (XMLHttpRequest, textStatus) { }
});