What's the actual code? I'm assuming you're not actually using 'xx' as your selector because that would never work. That format is reserved for accesing a specific tag. If you want to access a class, or id, then you'd need to prepend the 'xx' with either a . for a class, or # for an id.
-----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JOVE Sent: Monday, September 08, 2008 9:09 AM To: jQuery (English) Subject: [jQuery] $("xx").load can't load css and js in html file on Chrome?? 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:(