Home > front end >  Post submission does not jump pop-up window method
Post submission does not jump pop-up window method

Time:09-23













Don't jump to guide how to write up small window

CodePudding user response:

 
The function the submit () {
//ajax
//success pop-up prompts
}

Manual submitted ajax response pop-up prompts

CodePudding user response:

Don't use the submit input type, in js event to do, and then stop the default behavior

CodePudding user response:

Type="submit" in the form tag, there is the default behavior: jump to action specified address,
You don't use type=the submit
  • Related