$(function(){ $("#s1Btn").click(function(){ $.get("data.php", function(data){ $("#s1Div").html(data); }); }); });