I have a list. Clicking on the row will pop up the modal box
, send ajax
based on the information on each line, and display the results in the modal box
.
however,
if I click on the first line to send the request, and there is no result, I close the modal box
, and then I click on the second line, which sends the request again. If the ajax
of the first line is stuck for a while, later than the second, then waiting for the first to finish, you should overwrite the result of the second. How to solve this problem.