$(function(){ $(\'.btn\').click(function(){ alert($(\'#form\').serialize()); }) }) 这样就获取到了 #form的值. 相关文章: