TypeError: document.getElementById(…).submit is not a function解决

TypeError: document.getElementByIdx_x(…).submit is not a function的问题
这个保存的原因是有name="submit"

解决参考文章:http://www.vikaskbh.com/document.getElementByIdx_x-submit-is-not-a-function/

《input type="submit" name="Submit" value="

name可以如上改成大写,不然有的时候浏览器兼容有的不兼容,而且夹在AJAXPOST中查起来

很蛋疼。
原文地址:https://www.cnblogs.com/linewman/p/9918856.html