[jQuery] replace html on ajax success ie7
Hi guys, I am having a wierd issue. It seems all is fine in firefox
but in IE for some reason, although I can alert the value returned to
the ajax post, I cannot seem to populate the html of my div. Here is
my code:
$.post(SERVER_URL,
'temp_key='+temp_post_key_n,
function(data){
alert(data); // Displays returned html in ie and firefox
$('#message_div').html(data); // Populated in Firefox, not in IE
},
'html'
);
Also, If I set $('#message_div').html(data) to $
('#message_div').html('testing') I see "testing" in my div in both IE
and Firefox. Thanks a ton!
Fred.