Inserting a JavaScript library

About this task

A JavaScript™ library is a place for storing and sharing common JavaScript programs and code. You can insert an existing JavaScript library into a page, form, or subform either in-line or into the JS Header.

For more information on Script libraries, see Using Script Libraries in the Domino® Designer Programming Guide.

To insert a JavaScript library in-line

Procedure

  1. Open a page, form, or subform in Domino Designer.
  2. Choose Create - Resource - Insert Resource.
  3. Highlight "JavaScript Libraries," select an available JavaScript library, and click OK.

To Insert a JavaScript Library into the JS Header:

Procedure

  1. Open a page, form, or subform in Designer.
  2. Select the JS Header event in the info list under the Objects tab
  3. Choose Create - Resource - Insert Resource.
  4. Select an available JavaScript library, and click OK.