APIdia Launch Partner
Top Description Methods
org.w3c.dom.html

public Interface HTMLScriptElement

extends HTMLElement

Script statements. See the SCRIPT element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Since
1.4, DOM Level 2

Method Summary

Modifier and TypeMethod and Description
public String
getCharset()

The character encoding of the linked resource.

public boolean
getDefer()

Indicates that the user agent can defer processing of the script.

public String
getEvent()

Reserved for future use.

public String
getHtmlFor()

Reserved for future use.

public String
getSrc()

URI designating an external script.

public String
getText()

The script content of the element.

public String
getType()

The content type of the script language.

public void
setCharset(String charset)

public void
setDefer(boolean defer)

public void
public void
setHtmlFor(String htmlFor)

public void
public void
public void
Inherited from org.w3c.dom.html.HTMLElement:
getClassNamegetDirgetIdgetLanggetTitlesetClassNamesetDirsetIdsetLangsetTitle

Method Detail

getCharsetback to summary
public String getCharset()

The character encoding of the linked resource. See the charset attribute definition in HTML 4.0.

getDeferback to summary
public boolean getDefer()

Indicates that the user agent can defer processing of the script. See the defer attribute definition in HTML 4.0.

getEventback to summary
public String getEvent()

Reserved for future use.

getHtmlForback to summary
public String getHtmlFor()

Reserved for future use.

getSrcback to summary
public String getSrc()

URI designating an external script. See the src attribute definition in HTML 4.0.

getTextback to summary
public String getText()

The script content of the element.

getTypeback to summary
public String getType()

The content type of the script language. See the type attribute definition in HTML 4.0.

setCharsetback to summary
public void setCharset(String charset)
setDeferback to summary
public void setDefer(boolean defer)
setEventback to summary
public void setEvent(String event)
setHtmlForback to summary
public void setHtmlFor(String htmlFor)
setSrcback to summary
public void setSrc(String src)
setTextback to summary
public void setText(String text)
setTypeback to summary
public void setType(String type)