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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.