Home > Web Front-end > JS Tutorial > 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
Release: 2016-05-16 16:56:47
Original
1040 people have browsed it

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.
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template