jQuery(Ajax) problem in Internet explorer
The Code-
$.ajax({
url: "edit.php",
success: function(html)
{
$("#last").html(html).hide().slideDown('slow');
alert("hello");
}
});
Mozilla shows it all fine. Where as IE (being the normal PMS *) doesn't load anything into #last but does show the alert, what could be the problem?
I tho开发者_JAVA技巧ught javascript was browser independent?
You are missing quotes around the url:
$.ajax({
url: 'edit.php',
success: function(html) {
$('#last').html(html).hide().slideDown('slow');
alert('hello');
}
});
精彩评论