AJAX i jQuery

... a nawet jeszcze prościej

$.get("adres", function(data){
   //robimy coś z danymi
});