$(function(){ $("select").change(function(){ var id = $(this).val(); $.post("post.php", {id:id}, function(a){ $("div").html(a); }) }) })