Safari Doesn't Seem To Like CSS Coming From AJAX
Posted: Tue Nov 25, 2008 2:27 pm
I just discovered that if I use $('#myDiv').load('page.php') with jQuery, which pulls back a page's contents over AJAX, and try to stick a STYLE tag inside that page to style elements -- Safari won't load that! Man, that blows. Every other browser, however, handles this just fine. The workaround was that on the load of the container page (the one that had the jQuery call), I had to put the STYLE stuff there, and make it load only if the user is running Safari.