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

  • SEARCH
  • Home
  • 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 9205451
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:57:11+00:00 2026-06-17T23:57:11+00:00

I am testing out an Ajax JQuery script to say please wait while it

  • 0

I am testing out an Ajax JQuery script to say please wait while it submits data to a php file. However, to test if the please wait works, is there anyway to make a php file echo some data but return it with a delay?

  • 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-06-17T23:57:12+00:00Added an answer on June 17, 2026 at 11:57 pm

    Yes: (function sleep)

    <?php
    
    $numOfSeconds = 10;
    sleep($numOfSeconds);
    
    do_stuff();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm testing out sending a formData object to PHP (I am following http://net.tutsplus.com/tutorials/javascript-ajax/uploading-files-with-ajax/ ),
I'm testing out http://code.google.com/p/jquery-loadmask/ where it unmasks after an ajax call: $(#content-container).mask(Waiting...); $.ajax({ url:
I am testing out ajax with Django + jQuery. I have this in my
I have been testing out openjs grid v2.1 - starting by modifying the ajax.php
I am making an ajax call in jquery $.get(validate_isbn.php, {isbn: obj[16]}, function(answer) { console.log(answer);
$catlistThis is a jQuery POST using AJAX: $(document).ready(function() { $('#taglist').change(function(){ $.post('../includes/ajax.php', { taglist: $(this).find(option:selected).attr('value')},
I have a test php file which has 50 buttons in a table (just
I am testing out some code and I have created a json file with
I have a very simple jQuery/ajax script for a membership driven website. The script
I'm currently testing out retrieving json from jquery. The service url is: http://imgsvc.heroku.com/images In

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.