Home >Web Front-end >JS Tutorial >Event failure problem of server control in JQuery dialog_jquery
JQuery will appendTo the code to the body, not in the form, so the button event cannot be triggered.
Solution: When clicking the button to open the Dialog, append the div to the form to make the button effective.
Append the pop-up div to the div belonging to the form, then the server-side control can execute normally.
This is what the buddy said, I tried it and it worked. Share it with everyone.