load kullanabilirsin.
    $(div).load('https://site.com/a.php', '', function(response, status, xhr) {
            if (status == 'error') {
                var msg = "Üzgünüm Bir hata oluştu: ";
                $("#loading").html(msg + xhr.status + " " + xhr.statusText);
            }else{

            }
    });