Вы можете пойти примерно так:
<input type="button" id="btn" />
/* this will get the ajax response */
<div id="div_response"></div>
<script type="text/javascript">
$(function(){
$("#btn").click(function(){
$.ajax({
url:'process.php',
cache:false,
success:function(response){
$("#div_response").html(response);
}
});
});
});
</script>
process.php ( Примечание: Я не знаю, какой язык вы собираетесь использовать, но в этом примере я показываю с php)
$contents = file_get_contents('www.craiglist.com');
// you do the parsing whatever
// finally send back the response
echo $contents;
Надеюсь, это поможет, спасибо