JSF 1.1 Script Component

See Also

You can drag the Script  component Script component icon from the Palette's Advanced category to the Visual Designer to create a standard HTML <script> tag, which can be located in either the <head> tag or the <body> tag. Use the Script component to add JavaScript to your page.

When you drop this component on a page in the Visual Designer, it is inserted into the <head> tag. The component is not rendered on the page, but you can see it under the head1 node in the Navigator window. If you want the <script> tag in the <body> instead, you can drag the script node in the Navigator window from the head node to the body node.

You can use this tag either to point to a JavaScript file or to specify JavaScript code directly, as described below:

For more information on the HTML <script> tag, see the W3C web page at:

See Also
Working With Components
Component Tasks: Quick Reference
About the Visual Web Palette

Legal Notices