$(document).ready(function () { $(document).off('click',submit_text).on('click','.submit-text',submit_text); }) function submit_text() { var Url3='testfrom.jsp'; var fillDate=$(this).parent().serialize(); var upddateit=$('.updated'); alert(fillDate); $.post(Url3,fillDate,function(data,status) { if(status=='success') { alert("提亀成功"); } } ); }