org.w3c.dom.html2
public interface HTMLScriptElement extends HTMLElement
See also the Document Object Model (DOM) Level 2 HTML Specification.
| Method Summary | |
|---|---|
| String | getCharset()
The character encoding of the linked resource. |
| boolean | getDefer()
Indicates that the user agent can defer processing of the script. |
| String | getEvent()
Reserved for future use. |
| String | getHtmlFor()
Reserved for future use. |
| String | getSrc()
URI [IETF RFC 2396] designating an external script. |
| String | getText()
The script content of the element. |
| String | getType()
The content type of the script language. |
| void | setCharset(String charset)
The character encoding of the linked resource. |
| void | setDefer(boolean defer)
Indicates that the user agent can defer processing of the script. |
| void | setEvent(String event)
Reserved for future use. |
| void | setHtmlFor(String htmlFor)
Reserved for future use. |
| void | setSrc(String src)
URI [IETF RFC 2396] designating an external script. |
| void | setText(String text)
The script content of the element. |
| void | setType(String type)
The content type of the script language. |