Hello all, I use $("xx").load to load a html file that has its own css and js, on IE and Firefox, it works fine, but on Google's Chrome, I found that it can't load css and js in the html file. how can I fix it ?
subpage.htm: <style type="text/css"> ..... </style> <div>....</div> in IE and Firefox: $("xx").load(subpage.htm); alert( $("xx").html() ); it shows: <style type="text/css"> ..... </style> <div>....</div> but in Chrome it shows: <div>....</div> the style lost:(