Home > Backend Development > PHP Tutorial > Ajax follow-up operations in Thinkcmf

Ajax follow-up operations in Thinkcmf

WBOY
Release: 2016-10-10 11:56:18
Original
2006 people have browsed it

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. .

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template