Home  >  Article  >  Web Front-end  >  Form form element ID and name naming taboos when using jQuery_jquery

Form form element ID and name naming taboos when using jQuery_jquery

WBOY
WBOYOriginal
2016-05-16 16:56:47981browse

When doing your graduation project, name your form element ID and name as nodeName:

Copy the code The code is as follows:





...... .....



You can see this error in the chrome browser:

Uncaught TypeError: Object #< HTMLInputElement> has no method 'toLowerCase'

After analysis, it was found that it was the naming of the form element. Just modify it.
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