I have an Ajax code, and it work's, but not in IE10. In the debugger I see that no parameters sent, and no data recived.
I tried to put this inside the <head
>:
<meta http-equiv="x-ua-compatible" content="IE=9" />
But it's not helped.
The Code:
$.ajax({
url: 'ajax/unlock.php',
type: 'post',
data: { 'password': password, 'file': $("input[name='fileId']").val(), 'keep': ($("input[name='keep']").is(':checked')) ? 'true' : 'false' },
cache: false,
beforeSend: function() {
$("#locked_div").html('<img src="img/ajax-loader.gif" alt="loading" />');
},
success: function(data) {
if(data.charAt(0) == 0) {
data = data.slice(1);
$("#locked_div").html('<button id="locked">הורדה נעולה</button><p id="error"></p>');
$("#error").html(data);
} else {
$("#locked_content").slideUp();
$("#prem_message").slideUp(function() {
$("#dl_section").html(data);
$("#download").fadeIn('slow');
});
}
}
});
What's the problem?
Thanks, and sorry for my English