Home >Web Front-end >JS Tutorial >Event failure problem of server control in JQuery dialog_jquery

Event failure problem of server control in JQuery dialog_jquery

WBOY
WBOYOriginal
2016-05-16 18:14:261356browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn