Display progress of an ajax call
-
I have a button that when clicked, performs two system calls using ajax. Is there a way to update a textbox with the current progress (i.e. “Task 1 finished. Task 2 pending”)?
All I can figure out is to return when both tasks are finished.
I was thinking I could do two
$.post(ajaxurl, data, function (response){
calls inside my$( ).click(){
but it doesn’t work.I am using the sample plugin ajax-wordpress-boilerplate.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Display progress of an ajax call’ is closed to new replies.