The JSP page does not respond when you click the button, the method does not perform the check, and the jsp does not respond.
The button on the JSP page does not respond and the method does not perform the check.
Not long ago, when debugging a page, click a button on the page and the event bound to the button is not executed. It's strange. I thought the method name was wrong. Check whether it's exactly the same. I am so depressed. I think the difference between onclick and onClick on the internet is poor. After some exploration, it turns out that the method name uses the Reserved Words in JSP .. There is also this restriction, which is truly drunk. Here, I will summarize the methods for checking such methods:
Whether the id element has duplicate function names cannot conflict with the reserved name. Whether to correctly reference the select element of the jquery file (especially the path name) and set disable to true cannot be passed to the background.