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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:26:37+00:00 2026-06-11T02:26:37+00:00

I have a forms control on my html page, with a target set to

  • 0

I have a forms control on my html page, with a target set to the name of another hidden iframe on the page.

When I do a form.submit via a post call, I wish to show a busy/progress indicator until I receive a response from the post request within the iframe.

I tried using document.getElementById(“iframename”).readyState in IE and it works like a treat, but how do I handle such a scenario in Chrome/Firefox/Safari etc…?

My understanding is that the readyState is not available in other browsers for the html elements including the iframe, except for IE.

Any suggestions would be greatly appreciated.

Thanks.

  • 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-11T02:26:39+00:00Added an answer on June 11, 2026 at 2:26 am

    I found the answer at

    http://geekswithblogs.net/GruffCode/archive/2010/10/28/detecting-the-file-download-dialog-in-the-browser.aspx

    Instead of using browser dependant onreadystate,
    1) We randomly generate a key to be submitted with the form.
    2) In javascript, show progress indicator, run a timer that checks for match of cookie and key, if match, clear timer and hide progress, before submitting.
    3) We read the key on the server, append the key to the cookie response.
    4) On response, if cookie match, progress indicator will hide.

    Ingenious!

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

Sidebar

Related Questions

I have several forms added to the pages of the tab control via tabcontrol.tabpages.controls.add
I have created a tab control and few forms. Each form opens in a
If I put a form control on the page with a value already set,
I am using a server control on a single web.forms page. I have to
I have an HTML form, being submitted to a PHP page. The PHP page
I have a asp.net form with 5 HTML file input controls with runat=server and
I have an asp.net form that contains some html, 2 controls a calendar from
I have a control ...any System.Windows.Forms.Control . say for eg. label. I wish to
I have a Windows Forms WebBrowser control embedded in my application. Is there any
I have a System.Windows.Forms.Button control, and I want to add a hover-text explanation of

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.