首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

form.all.tags("input");提醒Uncaught TypeError: Cannot call method '

2014-01-13 
form.all.tags(input)提示Uncaught TypeError: Cannot call method 'tags' of undefiform.al

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")

热点排行