Help Center

Local Navigation

Object: HTMLScriptElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLScriptElement object represents a <script> element in an HTML document.

The <script> element defines a script.

HTMLScriptElement properties

Property name

Type

Description

Status

Availability

charset

String

Specifies the character encoding used in the script.

writable

4.6 or later

defer

boolean

When true, indicates that the script does not generate any document content and that the BlackBerry® Browser can therefore defer processing the script.

writable

4.6 or later

event

String

This property is not currently defined in the DOM HTML specification.

undefined

4.6 or later

htmlFor

String

This property is not currently defined in the DOM HTML specification.

undefined

4.6 or later

src

String

Specifies the URI where an external script document is located.

writable

4.6 or later

text

String

Specifies the script content.

writable

4.6 or later

type

String

Specifies the content type of the script.

The BlackBerry Browser engine ignores this variable when determining whether or not to execute the content as JavaScript®. Instead, the browser checks the language attribute.

writable

4.6 or later


Was this information helpful? Send us your comments.