Namespace used to hold functions and other objects that extend JavaScript's DOM capabilities.
Platform Support
| Jaxer Server Framework | Jaxer Client Framework | 1.0 | no |
|---|
Functions
| Method | Action | Jaxer Server Framework | Jaxer Client Framework | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
static createScript(Document doc, String contents, [Object attributes]) : ScriptElement
Create a new script element with the specified content and attributes
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
|
static hashToAttributesString(Object hash) : String
Convert an object's properties and property values into a string of attributes suitable for use in creating a string representation
of an HTMLElement. Each property is used as the attribute name and each property value becomes the attribute value. Attribute
values are surrounding in double-quotes and all property values containing double-quotes will have those characters escaped
with backslashes.
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
|
static insertScriptAfter(Object contents, Node elt, [Object attributes]) : ScriptElement
Creates a new script element and adds it as the next sibling of the specified element in the DOM.
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
|
static insertScriptAtBeginning(Object contents, Node elt, [Object attributes]) : ScriptElement
Creates a new script element and adds it as the first child of a specified element in the DOM.
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
|
static insertScriptAtEnd(Object contents, Node elt, [Object attributes]) : ScriptElement
Creates a new script element and adds it as the last child of a specified element in the DOM.
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
|
static insertScriptBefore(Object contents, Node elt, [Object attributes]) : ScriptElement
Creates a new script element and adds it before a specified element in the DOM.
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
|
static replaceWithScript(Object contents, Node elt, [Object attributes]) : ScriptElement
Replace a specified element in the DOM with a new script element.
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
|
static toHTML(Node node) : String
Returns the serialized HTML of the given node and its contents, much like the outerHTML property in IE. You can also pass
the entire document as the node to get the entire HTML of the document (page).
|
Show Details | 1.0 | no | |||||||||||
|
Parameters
Returns
|
||||||||||||||
