PDF (adobe.com)

Attach JavaScript behaviors to HTML form objects

You can attach JavaScript behaviors stored in Dreamweaver to HTML form objects such as buttons.

  1. Select the HTML form object.
  2. In the Behaviors panel (Window > Behaviors), click the Plus (+) button, and select a behavior from the list.