[jQuery] jquery ajax

[jQuery] jquery ajax


Hi,
Is it possible to call a http url for ajax query i.e.
    $(document).ready(function(){
         $.ajax({
         type: "GET",
         url: "http://www.domain.com/mypage.php",
         data: "site_id=" + site_id,
         success: function(tags){
                $("<div id=\"popdiv\">" + tags + "</div>").appendTo("body");
         }
         });
    });
Seems like url: "http://www.domain.com/mypage.php", is not allowed coz
it doesnt echo/display any coming from http://www.domain.com/mypage.php
Thanks in advance,
Mike