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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:13:04+00:00 2026-05-23T02:13:04+00:00

I am using jquery popup that loads a external page inside an Iframe. Now

  • 0

I am using jquery popup that loads a external page inside an Iframe.

Now I want to show loading spinner or loading bar image and hide the external page/iframe while its working,so user only sees the spinner.

can it be done,if yes how.please help me.

Here is the code

    <script type="text/javascript">
    $(document).ready(function () {

        $("a#em4c").bind("click", function () {
            $("#popup2").bPopup({ content: 'iframe', contentContainer: '#pContent', loadUrl: "http://site.com" });
            return false
        });

    });
</script>

html Part

<p><a id="em4c"><strong>POP ME</strong>: Simple jquery popup that loads a page   inside an iframe</a></div>

Thankyou

  • 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-23T02:13:04+00:00Added an answer on May 23, 2026 at 2:13 am

    Might This would be helpful for you

    <form>
    Your input elements 
    </form>
    <div id="dialog1" title="Waiting" style="display:none">
    <img src="/spinning.gif" border="0" align="left" hspace="12"/> Place all your text here   
    <iframe id="iframe1" src="" width="100%" height="100%"></iframe>
    Place all your Text 
    </div>
    

    write this in document.ready

    $("#dialog1").dialog({
                    autoOpen: false,
                    height: 150,
                    weight: 50,
                    resizable: false,   
                    modal: true 
                });
    

    //On click of the Element You can do in this way

    $("a#em4c").bind("click", function () {
            $('#dialog1').removeAttr('style');
            $('#dialog1').dialog('open');
                var url ="some.php";
                $('#iframe1').attr('src',url);
        })
    

    On click Of the Element it will Open the Spinning Image after That it opens some.php in the
    iframe. Is this you were expecting?

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

Sidebar

Related Questions

The Scenario Using jQuery, I have a page that has a popup overlay containing
On the following page: http://westendmediacentre.com/dev/ I am using a jquery popup that pops up
I am trying to load an external page as a popup using jquery fadeIn()
I'm using the jQuery Table to CSV Plugin. I've altered the popup so that
I have an Ajax control that is loaded into a Yahoo popup using jQuery.
I have a page which loads children pages by using jQuery's .load function... My
I'm putting together a fixed, one-page site that deploys an overlay using jQuery. There
I am using jQuery with a Google Chrome extension popup. The pop-up page uses
I want to show a Dialog, I am using jquery ui with asp.net mvc
Using jQuery, is there a way to select all tag that reference a specific

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.