Adding scripts to HTML topics

Before you add a script to your topic, do the following:

Follow these steps to add or change a script:

Note: It's a good idea to enclose your script within comment tags <!-- and -->. This will ensure that older browsers can properly handle your script and that any dynamic HTML will be correctly interpreted.

Tips:

  • You will see an icon where the script is inserted in the topic. To edit the script, double-click the icon.

  • It’s probably a good idea to have the developer who created the script test the HTML file after you generate output to ensure that the script works properly.