0

Hello ,
I want to show spinner while processing below data.

// SHOW SPIINER HERE
$.getJSON("./php/fetch_record.php",{Record_id: Schedule_id, ajax: 'true'}, function(j){
    for (var i = 0; i < j.length; i++)
    {
        $.post("/Test/Simple_form_submit",
            {
                //variables here
            },function(data){
        });
    }
// HIDE SPINNER HERE

I had tried show and hide div here
but div is showing on page.
But I want to display this as (we say) pop-up (type) on and process continues on backend.

Edited by Priti_P

1
Contributor
1
Reply
10
Views
3 Years
Discussion Span
Last Post by Priti_P
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.