I write in MVC and send jQuery AJAX request.
I don't understand why the 'callback' parameter is added to query string when I send AJAX request using JQUERY as below
http://localhost:39224/Test/TAction/2?callback=jQuery151031896859929189747_1301556762907
This causes error when response is returned I have never encountered such a problem. What it can be?
here the request code Thank you
$.ajax({
type: 'POST',
dataType: 'json',
url: 'Test/TAction/' + id,
async: false,
success: function (data, textStatus, XMLHttpRequest) {
var branches = $.parseJSON(data);
},
error: function (a, b, c) {
var d = 1;
}
});