Здравейте, опитвам се да подкарам jquery ajax заявка под IE7 -8 но когато натисна бутона за изпълнение на заявката под IE7 -8 не се случва нищо самата заявка изобщо не тръгва. Добавих и
[js]jQuery.support.cors = true;[/js]
но няма промяна. Ето и кода който ми прави заявката.
[js]$.ajax({
url: path,
type: "GET",
timeout: 5000,
crossDomain: true,
contentType: "application/json; charset=utf-8",
dataType: "json",
data: {
"yourMail": yourMail,
"mailTitle": mailTitle,
"userName": userName,
"userEmail": userEmail,
"userMessage": userMessage
}
}).done(function(data){
showServerMessage(data.messageResult);
}).fail(function(err){
showServerMessage(500);
});[/js]
[js]jQuery.support.cors = true;[/js]
но няма промяна. Ето и кода който ми прави заявката.
[js]$.ajax({
url: path,
type: "GET",
timeout: 5000,
crossDomain: true,
contentType: "application/json; charset=utf-8",
dataType: "json",
data: {
"yourMail": yourMail,
"mailTitle": mailTitle,
"userName": userName,
"userEmail": userEmail,
"userMessage": userMessage
}
}).done(function(data){
showServerMessage(data.messageResult);
}).fail(function(err){
showServerMessage(500);
});[/js]