Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Dreamweaver has two advanced behaviors that let you call custom JavaScript functions and change the properties of various HTML elements. Both of these actions require familiarity with JavaScript and HTML (Chapter 10). Unlike the other Dreamweaver behaviors, these two can easily generate browser errors if used incorrectly.
You can use the Call JavaScript behavior to execute a single line of JavaScript code or to call a JavaScript function that you've added to the <head> section of your Web page.