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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:26:14+00:00 2026-06-03T13:26:14+00:00

I need to understand when does a body’s onload gets called I read in

  • 0

I need to understand when does a body’s onload gets called

I read in w3school that onload=Script to be run when a document load what does this mean?

Does it mean that

  1. the html/jsp page gets loaded before rendering any elements in the body like any table or jsp scriplets eg: <%= request.getParameter("NAME") %>
  2. Or is it after the page/body is rendered?

for example:
I have a bunch of params (<%= request.getParameter("NAME") %>,...) so in order to use them i’ll place them in some hidden form item & then on body load can I use them?

  • 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-03T13:26:15+00:00Added an answer on June 3, 2026 at 1:26 pm

    Unlike w3schools, MDN explains when the event is fired:

    The load event fires at the end of the document loading process. At this point, all of the objects in the document are in the DOM, and all the images and sub-frames have finished loading.

    So the DOM tree is ready and all elements have been loaded.

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

Sidebar

Related Questions

i have a javascript that i need to load at the body, but since
my problem here that i don't understand how does the method called objectchanger works
I'm curious, why does sed need 3 \ just to recognize one? I'd understand
I understand that we need to create MXML file to define a view. Suppose
I understand that I need to figure out my own homework, but seeing that
<html> <body REMonload=document.location.assign('index2.php?w=' + window.innerWidth + '&h=' + window.innerHeight);> <script language=javascript> document.write('w=' + window.innerWidth
I need to understand and clarify some T-SQL stored procedures that contain important business
I need to understand bash if expressions. Sure, I've used Google. I know that
I need to remotely load a .NET DLL that contains an ActiveX object (non-visual)
I need to understand how does WCF works when sending a message. Does WCF

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.