onload not working

onload not working

Postby mlawton » Fri Nov 25, 2016 2:06 am

Is there a reason why the event "onload" does not work? I have some javascript functions I would like to trigger automatically, which onload would do when a form or object is loaded, but this does not work. Instead I have to use onmouseover or onclick for an object which means the user has to trigger the function before it works. Is there a workaround for onload?
mlawton
 
Posts: 16
Joined: Tue May 10, 2016 1:46 am

Re: onload not working

Postby admin » Wed Dec 14, 2016 4:28 pm

mlawton,

Just put them inside the Javascript section of the Form.

They should automatically run when you open the Form.

Steven
admin
Site Admin
 
Posts: 3123
Joined: Mon Jun 15, 2009 9:53 am


Return to Custom Code