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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:29:23+00:00 2026-06-17T08:29:23+00:00

I have a tabbed panel where onclick on a specific tab i need to

  • 0

I have a tabbed panel where onclick on a specific tab i need to load three js files and a html file into current DOM and execute a method related to those js and html file.

The html file contains templates and need to be loaded into a hidden iframe.

I am able to load the same by appending the respective tags to the body but i need to execute a function after all the files are loaded.

How to get the event after all the files being loaded.?

————— New problem ———————-

Im geting the event successfully after loading the files.

I have below problem.

I have a html file im loading as above and giving the content to a dynamically created iframe as follows

content = document.createElement("iframe");
content.style.display = "none";
content.src = 'data:text/html;charset=utf-8,' + encodeURI(responseText);

My base protocol is https. When the protocol is http im getting no error. Now im getting the following error.

The frame requesting access has a protocol of '', the frame being accessed has a protocol of 'https'. Protocols must match.

Please help.

  • 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-17T08:29:24+00:00Added an answer on June 17, 2026 at 8:29 am

    You hinted at the solution in your last sentence:

    Trigger an event!

    Register a handler that will wait for your 4 custom events, keep track of which were already received via a global array and execute your function when all required events were triggered.

    Of course you will trigger() a custom event at the last line of every one of your asynchronously loaded files.

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

Sidebar

Related Questions

Basically I have a tabbed Panel I'm creating. When the user click on a
I have designed a tabbed page. I'm able to load forms in the tabs
What i have is a tabbed page with 12 tabs (every tab is a
I have a webpage which has tab list, the HTML looks like this for
I have this very basic tabbed block: $('.tabbed-section .panel').hide(); $('.tabbed-section .panel:first').show(); $('.tabbed-section .tabs li:first').addClass('active');
I have a GUI with nested panels(tabbed with nested panels and etc). I need
I am using jquery tabs to load content from a remote file. I have
I have a search page with a tabbed panel, with a form within each
I have a nested list on one of the pages of a Tabbed Panel
I have a tabbed panel created using the jquery ui tabs and where each

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.