Working in the HTML editor

The integrated Script editor is a pane in Page view of the HTML editor. It provides an organized view of your scripts, supports color-coding based on the selected scripting language, and provides facilities for saving and testing scripts. When you add a script in Page view, the editor automatically inserts appropriate HTML elements and attributes for the script into your document.

An HTML page can contain many scripts. The integrated Script editor lets you focus on one script at a time. Using the Script toolbar, use the three drop-down lists to select an object, an event, and a scripting language. If an object such as a server script does not have events, the event drop-down is blank.

In Source view, you can edit the HTML script elements and the script itself in a single window. The scripts are intermixed with the rest of the document content.