I am curious about submitting each of the Jsp multiple modals

Asked 2 years ago, Updated 2 years ago, 81 views

Currently, two modals are displayed on the main page to log in and sign up for membership In the case of login, the function is executed through onsubmit in the form tag, and the action is also carried out well by receiving return true However, in the membership form created later, the function specified in onsubmit with the submit button is executed to store the submitted values in the variable and transfer them to the backend, but whether onsubmit is not working It doesn't work if you set it doesn't work Is there anyone who can tell me why I'm not good enough yet?If there is anyone who knows the order of script action or something that can be helpful, please do so. Please understand that writing the tag's name in English has made it easier for other people to search for it later.

modal submit javascript jsp forms

2022-09-22 12:36

1 Answers

I'm asking myself The name of the declared function is already declared somewhere, such as an attribute or function Somehow, Uncaught TypeError: is not a function and is taken in the console https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Errors/Not_a_function I solved it by referring to this


2022-09-22 12:36

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.