摘要: $(function(){ $("#form1").click(function({ document.form_name.action="usercenter/change_username"; document.form_name.submit(); }))})注:如何document.form_name.submit()提示is not function是错误,需要检查一下form表单里是否有name为submit的元素。 阅读全文
posted @ 2013-08-16 14:31 静心聆听 阅读(414) 评论(0) 推荐(0) 编辑