javascript onload event in Firefox

Posted on 2007-07-27
Medium Priority
Last Modified: 2013-12-07
Why does:
<body onload="alert('hi');">

not work in Mozilla firefox?
And how do I solve this problem?

Question by:frollo

Accepted Solution

ravs120499 earned 2000 total points
ID: 19581650
Does this work (cut-and paste exactly as it is)

<body onLoad="alert('hi');">

Author Comment

ID: 19581683
Thanks. Strange, I did try the on L oad with capital L must have been browser cache. Well anywayz, back to the tedious task of making my script browser independent (yuck!!)

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question