On Jun 4, 5:27 pm, Massimiliano Marini <[EMAIL PROTECTED]> wrote:
> 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');
>                 });
>
> });
>
cross-domain problems set aside, you should not use post to get data.
post is fur submitting data to a server.

Reply via email to