阅读背景:

如何通过AJAX从PHP文件中获取多个响应?

来源:互联网 

My PHP file doing 2 operations: 1. Submits data from form into db table, 2. Sends email. What I wanna do is to show status messages via ajax. For ex: "First operation done, please wait for second" and then when second one will be finished show the next message "Second op. done too". Now my ajax looks like that. How can I modify it?My PHP file doing 2 operations: 1. Submits data




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: