日期:2014-05-16  浏览次数:20307 次

post时如何阻止某个元素提交
post时如何阻止某个元素提交?比如不想让<input type="text" name="location" />提交,不使用disabled,因为该元素还是需要编辑。

------解决方案--------------------
提交前设置disabled,提交后移除disabled