You'll want to check out the following sections of the documentation:
<div id="myBlock" style="height: 400px; width: 400px; display: hidden"></div>
<a href="#myBlock" id="displayMyBlock">Display the magic block</a>
$(document).ready(function() { $('#displayMyBlock').click(function() { $('#myBlock').load('helloWorld.php', function() { $('#myBlock').fadeIn(500); }); return false; }); });
<?php echo 'Hello World!';