HTMLScriptElement Prototype
Defines the properties and methods inherited by objects in the HTMLScriptElement prototype chain.
Syntax
HTML N/A Scripting HTMLScriptElement.prototype
Members Table
The following table lists the members exposed by the HTMLScriptElement Constructor object.
Attributes/Properties
Attribute Property Description CHARSET charset Gets or sets the character set used to encode the object. DEFER defer Sets or retrieves the status of the script. EVENT event Sets or retrieves the event for which the script is written. FOR htmlFor Sets or retrieves the object that is bound to the event script. SRC src Retrieves the URL to an external file that contains the source code or data. text Retrieves or sets the text of the object as a string. TYPE type Sets or retrieves the MIME type for the associated scripting engine. Events
Remarks
For more information on this and other DOM Prototypes , see Document Object Model Prototypes, Part 1: Introduction.
This prototype derives from the Element Constructor.
Applies To
SCRIPT
See Also