jQuery load does exactly that... loads the contents of a file and puts them inside a location specified. You might want to use this instead (From jQuery's AJAX API):
Code:
$.ajax({
url: "test.html",
cache: false,
success: function(html){
$("#results").append(html);
}
});
And the link to the page:
http://docs.jquery.com/Ajax/jQuery.ajax
I'm sure you can figure it out.