Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

onload not working

Post Reply
mlawton
Posts: 16
Joined: Mon May 09, 2016 6:16 pm

onload not working

Unread post by mlawton »

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?
admin
Site Admin
Posts: 2778
Joined: Mon Jun 15, 2009 2:23 am
nuBuilder Version: 4.5

Re: onload not working

Unread post by admin »

mlawton,

Just put them inside the Javascript section of the Form.

They should automatically run when you open the Form.

Steven
Post Reply