defaultServerScript Property

See Also      Applies To

Specifies the default scripting language for an ASP page.

Settings

Choose VBScript or JavaScript.

Remarks

This property setting is useful only in ASP pages. When you set this property, the following ASP server directive is added to the top of the page:

<%@ language=VBScript %>

-or-

<%@ language=JavaScript %>

The value of this setting applies to inline script and to script blocks that do not include an explicit LANGUAGE attribute. It also specifies the language used to create server event handlers in the Script Outline window. This setting does not affect scripts that are in script blocks that have a LANGUAGE attribute.

Note   If you change this setting, make sure that inline script and script in script blocks without a LANGUAGE attribute will run in the new default language.