Massimiliano Marini ha scritto:
I want to load news in my html page from a php script from another
site.

I have included this script in my html page, but not work, maybe I'm
wrong using $.post?

$(document).ready(function(){

        $.post("http://www.othersite.it/news.php";,
                function(data){
                        $("#response").append(data).show('fast');
                });

});

<div id="response"></div>


ajax can't work cross domain by design for security reasons.

Renato

Reply via email to