[jQuery] Bug with $.ajax and IE
Hello ,
I have made a very simple test with jquery and the funcrion $.ajax.
This project is very simple and I works find wint firefox.
I have basic html page. I have a javascript page with that code :
$(document).ready( function(){
$.ajax({
type: "POST",
url: "BD/donnees.php",
success: function(msg){
alert( "Recu: " + msg );
},
error: function(a,b,c){
alert("Error : " + a + " " + b + " " + c + " " );
}
});
});
This function call data from BD/donnees.php , here is this php
script :
<?php
$a = new donnees();
class donnees{
function donnees(){
echo 'send data';
}
}
?>
So it's very simple ..... but it doesn't work with IE ... if some one
could help me .... thank you !!!!
Fabrizio