Writing a client-side script in Design view
You can write a JavaScript or VBScript for your page without leaving Design view.
Before starting, select View > Visual Aids > Invisible Elements to ensure that script markers will appear on the page.
To insert a client-side script in Design view:
- Place the insertion point where you want the script.
- Select Insert > Script Objects > Script.
The Script dialog box appears.
- Complete the dialog box and click OK.
For more information, see Setting the Script dialog box options.
Related topics
- Linking to an external script file
- Editing a script in Design view