1

The css part is totally not reflected in the output (for webkit only, others ok), it is as if no css was defined, javascript works tho...

Ajax call

    $("#output_area").load("abc.html");

abc.html sourcecode: (Angle brackets are omitted)

!DOCTYPE HTML
html
    head
        style type="text/css"

            css..
            css..
            css..

            NOT LOADED/REFLECTED IN THE OUTPUT

        /style
    /head
    body

        HTML...
        HTML...
        HTML...

        script type="text/javascript"

            JAVASCRIPT IS LOADED AND IT WORKS

        /script
    /body
/html   
user6890
  • 484
  • 2
  • 6
  • 16
  • a quick smart guess: try putting that style block inside the body, i am assuming jquery's load function ignores the head block – lock Sep 17 '10 at 01:06

1 Answers1

1

Loading css rules dynamically in Webkit (Safari/Chrome)

Community
  • 1
  • 1
Steve
  • 5,771
  • 4
  • 34
  • 49