<SCRIPT...>
EVENT
="Event Handler"
FOR
="Element Reference"
ID
="Unique Identifier"
LANGUAGE
="Scripting Language descriptor"
RUNAT
="Server"
SRC
="URL"
>
...
</SCRIPT>
De-limits a client (or server) side script block.
Attribute | Description |
EVENT |
Specifies the event that the script block is to be executed upon (when used in conjunction with the FOR= attribute. |
FOR |
References the element (using the elements ID attribute value) that the script block is to executed for (used in conjunction with the EVENT= attribute). |
ID |
Specifies a unique identifier for the script block, that can then be manipulated through scripting of the Scripts collection. |
LANGUAGE |
Sets the scripting language that the enclosed script block is written in. |
RUNAT |
Specifies that the script functions are to be executed on the server, rather than the client (typically only used in ASP development). |
SRC |
Provides a URL to an external script source file. |
See 'HTML Reference|Scripting Reference|Javascript or Visual Basic Script' for more information.