Show All

# script Element

Defines the source scripting file containing all the data-level script content referenced in the form.

## Type

    xsd:complexType

## Structure

Name | Description
--- | ---
src | (Required attribute) Provides a relative URL within the form template to the specified script source file.

## Remarks

The script element is an optional element of the scripts element.

## Example

The following is an example of the script element:

    <xsf:scripts language="jscript">
       <xsf:script src="myscripts.js"/>
    </xsf:scripts>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp