I'm using AJAX to update page content. In my page callback I have a few commands and end with ajax_render().
When I click the AJAX link from another page, the content updates, all my JS and CSS for that page are added, and everything works perfectly. However, the CSS is not being applied in IE.
It appears that the following two lines in ajax.js are causing the problem:
var new_content_wrapped = $('<div></div>').html(response.data);
var new_content = new_content_wrapped.contents();
If I hack ajax.js and change (line 519):
wrapper[method](new_content);
to:
wrapper[method](response.data);
it works!! Any ideas?