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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:13:52+00:00 2026-06-05T12:13:52+00:00

I made a simple ** test ** i have 10 <p> elements. after the

  • 0

I made a simple **test **

i have 10 <p> elements.

after the first element i have a script :
which created 10 Iframes with SRc , and appending them to the first

element.

for (var i=0;i<10;i++)
     {
       var t=$("<iframe />").css({'width':'50px','height':'50px'}).attr('src','http://www.msdn.com');
        $("#hello").append(t);
      }

strange , but i do see the other 9 <p> , before the complete loading of the whole iframes…

should’nt the addition of new elements ( the iframes) into the Page elements should block subsequent html rendering ?
(plus , as we know , javascript is a single threaded )

enter image description here

  • 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-05T12:13:54+00:00Added an answer on June 5, 2026 at 12:13 pm

    No. JavaScript is single-threaded, but that doesn’t mean that the browser can’t launch more than one HTTP request concurrently. Consider that images also load via concurrent HTTP requests.

    Adding an <iframe> to the document starts an HTTP request, but — because JavaScript is single-threaded — the code does not wait for that to finish.

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

Sidebar

Related Questions

I have made a simple test application for the issue, two winforms each containing
I have a little trouble getting gettext to work. I made a simple test
here is a simple question. I have a 'ul' which i have made sortable
I have made a super simple test case of a problem I'm having with
I have made a simple example application to test Fluent NHibernate with the automapping
I have made a simple test applet that has a red background and a
I've made a simple test with a MemoryMappedFile as msdn says : 2 processes,
I'm putting together a simple test made up of two tutorials available online for
I made a simple jquery script to sort content of the page on clicking
I'm learning java and I have made simple program that simply reads value from

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.