Home  >  Article  >  Backend Development  >  Ajax follow-up operations in Thinkcmf

Ajax follow-up operations in Thinkcmf

WBOY
WBOYOriginal
2016-10-10 11:56:181972browse

There is js-form-ajax component in thinkcmf, which allows the form to be processed asynchronously. Now that I have integrated the layer plug-in, I need to close the child layer and refresh the parent layer after the form is successfully submitted in the pop-up box. How to achieve?

Reply content:

There is js-form-ajax component in thinkcmf, which allows the form to be processed asynchronously. Now that I have integrated the layer plug-in, I need to close the child layer and refresh the parent layer after the form is successfully submitted in the pop-up box. How to achieve?

Although I have not used the js-form-ajax component, what I can think of is that it must have a time-monitoring method that can be called. After monitoring that the form is submitted successfully, simulate clicking to close the sub-layer and then refresh it. .

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