Home > front end >  How to solve the input texte content as long as a pop-up alert, content is empty.
How to solve the input texte content as long as a pop-up alert, content is empty.

Time:11-29



Figure 1

Figure 2

As shown in figure behind a form to write a written content get blank brains pop-up prompts, as long as a pop-up, as shown in figure 2 before all the content in the input text is have been emptied,
How to make it not clear?
Front end new request bosses support,

CodePudding user response:

You this should be the post, you should stop the form submission, custom a submit function, test input, the first right to trigger the post, said simply, the default action is to cancel the submit button, I didn't check in detail, anyway, thinking is like this,

CodePudding user response:

Thank you, thank you can reply to a solution,
  • Related