Re: [jQuery] AJAX .Load Stripping out a STYLE tag.

2006-09-01 Thread Hartman, Matthew
Krzysztof FF schrieb: This would encourage incorrect usage of HTML which is a bad thing in my eyes. Why don't you include a script element with a function, that adds some external style sheet to the head element? In the long run that would increase maintainability anyway in my eyes. And

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-09-01 Thread Hartman, Matthew
Robert James Kaes: I don't actually know if this is the case, but the STYLE element is not allowed within a BODY element (per the W3C HTML spec.) Perhaps this is one place where IE is following the spec strictly? -- Robert I don't think this is the case due to IE supporting STYLE

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Hartman, Matthew
This is an in-house clinical portal, similar in nature to DotNetNuke or Rainbow Portal in that content is served dynamically through one or two ASPX pages. The ASPX pages grab content from a database which includes references to ASCX's (user controls). It's one of those user controls I'm writing

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Franck Marcia
2006/8/31, Hartman, Matthew [EMAIL PROTECTED]: So any how, I must assume it's what you said with innerHTML not playing well with STYLE tags. If I include the STYLE tag as part of the originally served document there is no problem at all. It's the same problem as

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Krzysztof FF
John Resig wrote: It's not so much an issue of jQuery ignoring the style element - it's an issue of browsers ignoring it. If memory serves me correctly, using style elements and innerHTML is particularly dicey. Couldn't STYLE tags in delivered HTML snippet be stripped out and inserted

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Klaus Hartl
Krzysztof FF schrieb: John Resig wrote: It's not so much an issue of jQuery ignoring the style element - it's an issue of browsers ignoring it. If memory serves me correctly, using style elements and innerHTML is particularly dicey. Couldn't STYLE tags in delivered HTML snippet be

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-31 Thread Klaus Hartl
Hartman, Matthew schrieb: This is an in-house clinical portal, similar in nature to DotNetNuke or Rainbow Portal in that content is served dynamically through one or two ASPX pages. The ASPX pages grab content from a database which includes references to ASCX's (user controls). It's one of

[jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-30 Thread Hartman, Matthew
Hello everyone. Ive been a loner for a little bit but its time to actually ask a question.. :) Im using the $().load function to populate a DIV with the result of a server-side XSLT. The top of the XSLT contains a style tag which jQuery seems to ignore. Is there a way around this?

Re: [jQuery] AJAX .Load stripping out a STYLE tag.

2006-08-30 Thread John Resig
I'm using the $().load function to populate a DIV with the result of a server-side XSLT. The top of the XSLT contains a style tag which jQuery seems to ignore. Is there a way around this? It's not so much an issue of jQuery ignoring the style element - it's an issue of browsers ignoring it. If