Home  >  Article  >  Web Front-end  >  js error Object doesn't support this property or method reason analysis_javascript skills

js error Object doesn't support this property or method reason analysis_javascript skills

WBOY
WBOYOriginal
2016-05-16 18:08:481969browse

js error:
Object doesn't support this property or method
Cause of the problem:
1: The js code uses the javascript keyword
2: The method name conflicts with the form or div form name
3 There is name="submit" in .button
4. When uploading pictures, it prompts: Object doesn't support this property or method
Cause: The version of AspJpeg installed on the server is lower than version 1.4.
Solution: Install the AspJpeg component of version 1.4 or above.

I also encountered this problem, and later found:

Copy the code The code is as follows:

function TfybxMoneyTotalCheck()
{
.....
var TfybxMoneyTotalCheck=0
}

The name of the function and the definition of var A name is the same. So this report is wrong. .
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn