PROGRAMMING OVERVIEW AND USER INTERFACE


Writing JavaScript in a page header
The Programmer's pane provides a placeholder called JS Header on the Objects tab that allows you to write JavaScript in the header of a page, form, or subform. JavaScript written in the header in this way does not require a formula to return a JavaScript function, or text to be marked as passthru HTML.

1. Click JS Header on the Objects tab.

2. Select Web or Client from the first Run drop down list to indicate whether this code executes when accessed by a Web browser or the Notes client.

3. Select JavaScript or Common JavaScript from the second drop down list.


4. Write your JavaScript in the Script area.

See Also