读书人

form.all.tags(quot;inputquot;);提醒Uncaught

发布时间: 2014-01-13 17:16:02 作者: rapoo

form.all.tags("input");提示Uncaught TypeError: Cannot call method 'tags' of undefi
form.all.tags("input");提示Uncaught TypeError: Cannot call method 'tags' of undefined
[解决办法]
document.all为IE内核专用,其他浏览器不识别
用它代替
document.getElementById(你的formID).getElementsByTagName("input")

读书人网 >JavaScript

热点推荐