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 7822167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:51:00+00:00 2026-06-02T07:51:00+00:00

I have a simple E-mail done. I want this email form to run during

  • 0

I have a simple E-mail done. I want this email form to run during a process. The user will submit a query. He will have to wait a short time to get the results. During this short time I want the screen to show my E mail form and constantly refresh every 5 seconds, when the process is finished and the results are ready I want the form to leave, and the script to continue to the results page created.

I was thinking javascript?

     function timeRefresh(timeoutperiod){
     setTimeout("location.reload(true);",timeoutPeriod);

Any suggestions Please?

  • 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-02T07:51:01+00:00Added an answer on June 2, 2026 at 7:51 am

    You can perform the query using AJAX request

    and when the request sent show a light box you can use this one I like it

    http://www.jacklmoore.com/colorbox

    after the response comes back from the server you check if the textfield is empty or not if its empty close the light box else let the user finish the form and close it

    if you need code just leave a comment


    // show light box 
    $.ajax({
    
                      url: 'QueryFile.php',
                      type:'post',
                      data:{variable:value,},
                      dataType:'html',
                      success: function(data) {
                         //close modal box 
                      },
                     error:function(error)
                     {
                         console.log(error); 
                        alert("Sorry there was an error while performing your query ");  
                     }
                    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple mysql query checking the database table 'all_users' for an e-mail
I have a simple web form that sends and email out via .NET C#.
I have a simple php email form where the form is validated and submitted
I have simple form. <form target=_blank action=somescript.php method=Post id=simpleForm> <input type=hidden name=url value=http://...> <input
I have a simple mail system developed with G.W.T and i am trying add
I have a simple contact page set up with a form and I am
I have a simple contact form on a website that has 2 text fields,
I have a very simple mail merge that is connected to an SQL server
I have a simple mail sending application which runs in python using Django. After
I have a simple subscribe form at : http://thepanamainsider.com/sanblas/index9.php The form doesn't work, it

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.