Possible Duplicate:
XmlHttpRequest error: Origin null is not allowed by Access-Control-Allow-Origin
I still don't get why this code works fine when loading local server pages (localhost) but display nothing when trying to fetch remote data
$(document).ready(function(){
    $.get(
    "message.html",
    function(data) { $("div").html(data); },
    "html"
    );
});
and displaying the remote html file gives me no error but no data:
$(document).ready(function(){
    $.get(
    "http://viralpatel.net/blogs/2009/04/jquery-ajax-tutorial-example-ajax-jquery-development.html",
    function(data) { $("div").html(data); },
    "html"
    );
});
Regards
 
     
    