Hi guys,

    I'm searching one solution about css codes with google chrome and
safari browser.

    Any peoples suggest me put all css codes in one css file, but this
is my last option.. I'm try inject css codes from others pages

    I'm try the following function


    $.ajax({
        type: "GET",
        cache: false,
        dataType: "html",
        url: "mypage.html",

        success: function(data){

            var x = $(data).find("style").html();

            alert(x);

            $("head").append("<style type='text/css'/>").find
("style:last").append(x);


            $('#Content').empty().html(data);





but $(data).find("style").html() return nul value..



somebody can suggest me anything ?


thanks


Carlos

Reply via email to