document.form.submit() 出现"对象不支持此属性或方法"有关问题

document.form.submit() 出现对象不支持此属性或方法问题转自?http://hi.baidu.com/qfans/blog/item/28f

document.form.submit() 出现"对象不支持此属性或方法"问题

转自?http://hi.baidu.com/qfans/blog/item/28fc7bcb54560217be09e634.html

其实就是因为存在一个?input,其name=submit

最常见是<input type="submit" name="submit" value="提交"/>

将name重命名即可