Use an Invoke Script component to call a JavaScript function inside your web layout.
To create an Invoke Script component
- Follow steps 1 - 4 in Creating New Advanced Components.
- In the Parameters For Selected Item panel, under Script To Invoke, enter the name of the script file to associate with this component.
- Click File menu
Save.