Сценарий ниже отлично работает с Firefox и Chrome, но я не могу заставить его работать, т. Е. Попробовав все, даже понизив безопасность в моем браузере, чтобы убедиться, что это блокирует его, но я все еще не могу заставить его работать.XMLHttpRequest() Не работает с IE
function postData() {
var http = new XMLHttpRequest();
var url = "/scripts/remove_fr.php";
var params = "";
http.open("GET", url, true);
//Send the proper header information along with the request
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
http.setRequestHeader("Content-length", params.length);
http.setRequestHeader("Connection", "close");
http.onreadystatechange = function() { //Call a function when the state changes.
if(http.readyState == 4 && http.status == 200) {
}
}
http.send(params);
}
$("#qwerty").click(function() {
$('#qwerty').remove();
});
</script>
IE версии? Ошибка? Что не работает? Что происходит? – epascarello