This example
Please try this
$(document).ready(function(){
$("button").click(function(){
$("#div1").load("demo_test.txt #p1");
});
});
JQuery format is wrong:
$(document).ready(function() {
$('#test').load('doesntmatter');
});
then add a page name in your directory or such into the load parameters