[jQuery] Re: $(xx).load can't load css and js in html file on Chrome??

2008-09-08 Thread Andy Matthews
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.

[jQuery] Re: $(xx).load can't load css and js in html file on Chrome??

2008-09-08 Thread Jove
I' sorry, xx just a example, in actually I'm using $ (#content).load(), but the point of this topic is about .load() on Chrome.

[jQuery] Re: $(xx).load can't load css and js in html file on Chrome??

2008-09-08 Thread Andy Matthews
Gotcha. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jove Sent: Monday, September 08, 2008 10:41 AM To: jQuery (English) Subject: [jQuery] Re: $(xx).load can't load css and js in html file on Chrome?? I' sorry, xx just a example, in

[jQuery] Re: $(xx).load can't load css and js in html file on Chrome??

2008-09-08 Thread Danny
According to the W3C standard, style elements can only go in the head. It's a dumb rule, but it's the rule. IE and Firefox are happy to put the style in the body, but Safari won't do it (it ignores styles when setting innerHTML) and I assume Chrome, which is based on WebKit, does the same. You