function Call in Firefox in onLoad not executing

F

Fendi Baba

Hi I made a function call on the form onLoad event and it is ignored
in firefox. I place an alert box just b4 the fucntion and it is called
correctly by the browser but it stops when it enters the fucntion.
This work as it is intended in IE. How do I make a fucntion call in
Firefox?

Thanks
 
M

Mick White

Fendi said:
Hi I made a function call on the form onLoad event and it is ignored
in firefox. I place an alert box just b4 the fucntion and it is called
correctly by the browser but it stops when it enters the fucntion.
This work as it is intended in IE. How do I make a fucntion call in
Firefox?


The answer is in your code.

Mick
 
T

Thomas 'PointedEars' Lahn

Fendi said:
Hi I made a function call on the form onLoad event and it is ignored
in firefox. [...]

The `form' element has no `onload' attribute in Valid (X)HTML, and
so HTMLFormElement objects have no intrinsic `onload' property in
the Gecko DOM. See e.g. <http://validator.w3.org/>.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top