Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6091733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:21:43+00:00 2026-05-23T12:21:43+00:00

I am send request to PHP page by using jquery ajax concept, I have

  • 0

I am send request to PHP page by using jquery ajax concept, I have to display the response in dialog box. It works fine but the problem is it takes time to get response. So can I add progress bar to it.

$.ajax({
            type: "POST",
            url: "push/push_notify.php",
            data: "pushmessage="+message+"&iphone="+iphone+"&android="+android+"&blackberry="+blackberry,
            success: function(e){
                var response = e;
                apprise(response, {'animate':true});
            }
        });
       return false;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:21:43+00:00Added an answer on May 23, 2026 at 12:21 pm

    You could show some spinner image before running the request and hide it after the request finishes, i the complete handler. For example:

    $('#spinner').show();
    $.ajax({
        type: "POST",
        url: "push/push_notify.php",
        complete: function() {
            $('#spinner').hide();
        },
        data: { 
            pushmessage: message, 
            iphone: iphone, 
            android: android, 
            blackberry: blackberry
        },
        success: function(e) {
            var response = e;
            apprise(response, {'animate':true});
        }
    });
    

    And here’s a site for some AJAX spinners.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ajax() to send POST request to a php page. This is the
i am using ajax and jquery to send an * synchonou *s http request
i have one php page with request data from other page using JSON i
I have made an AJAX chat using Javascript, PHP, and MySQL. I send the
I'm using curl to make php send an http request to some website somewhere
I have a program to send POST request to a server. I'm using cURL
I would like to send data using the jQuery Ajax API: var myData =
I have a script that works fine on my test server (using IIS6). The
I'm trying to renew my company intranet using jquery, ajax and php. General aspect
I have a program that will make a web request to a php page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.