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>

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Reply via email to