When performing a heavy duty task, like removing all data from a database by tables or similar, is it possible to return a partial response of an ajax request to indicate current status of the task?
For example if I had 5 tables in a database and run queries to delete data from those tables one by one, is it possible to send a status message after deleting data from each table by json or some other way?
服务器无法响应您的partial
响应,至少您正在使用套接字或类似的情况(因为正在使用ajax)不是这样。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.