OpenWGA 7.6 - JavaScript reference
WGAMethod :
WGA.onload.register(fn)
On object | WGA |
Usage |
Registers a JavaScript function to be executed on the "onload" event of the web page |
Description |
OpenWGA functionalites need to execute a varying number of functions when the web page is ready. Therefor the "onload" event of the page should not be overwritten directly. Instead this method should be used to register a function which will get called just like it was directly executed for the "onload" event. |
Parameters |
fn (JavaScript function): A JavaScript function to execute on the event. |