js中报错:Object doesn't support this property or method

当我们调试js代码的时候,经常会出现"Object doesn't support this property or method",原因有几下几类:

变量或者函数名等使用了javascript中的关键字或者保留字

方法名与一些标签名命名冲突

button中name="submit"

如果是上传图片时候提示,是因为服务器上安装的AspJpeg的版本低于1.4版。

转载于:https://www.cnblogs.com/bijiapo/p/5420388.html

你可能感兴趣的:(js中报错:Object doesn't support this property or method)