Jump to main content
HCL Logo Product Documentation
Customer Support HCLSoftware U Community Forums Customer Idea Portal
IBM Domino Designer
  • IBM® Domino® Designer 10.0.1 documentation
  • What's new in IBM® Domino® Designer 10?
  • IBM Domino Designer Basic User Guide and Reference
  • IBM Domino Designer XPages User Guide
  • JavaScript and XPages reference
This version is no longer supported.
 View the latest version.
Refer to the End of Support article for more information.
A newer version of this product documentation is available.
View the latest version.
  1. Home
  2. JavaScript and XPages reference

    This reference describes the JavaScript™ language elements, Application Programming Interfaces (APIs), and other artifacts that you need to create scripts, plus the XPages simple actions.

  3. DOM (JavaScript)

    Represents a document in XML Document Object Model format.

  4. DOMNode (JavaScript)

    Represents a node in the Document Object Model.

  5. cloneNode (DOMNode - JavaScript)

    Clones a node.

Go to Feedback
  • JavaScript and XPages reference

    This reference describes the JavaScript™ language elements, Application Programming Interfaces (APIs), and other artifacts that you need to create scripts, plus the XPages simple actions.

    • JavaScript™ language elements (JavaScript)

      The JavaScript™ language elements are based on the ECMAScript Language Specification Standard ECMA-262 (see http://www.ecma-international.org/publications/standards/Ecma-262.htm). The JavaScript described here applies to the server-side interpreter. Client-side scripts are interpreted by the browser.

    • Simple actions (JavaScript)

      A simple action performs a pre-programmed activity that can be modified by arguments.

    • Global objects and functions (JavaScript™)

      Global objects provide entry points to server-side scripts. Entering the name of a global object instantiates it.

    • DOM (JavaScript)

      Represents a document in XML Document Object Model format.

      • DOMAttr (JavaScript)

        Represents an attribute of an element.

      • DOMCDATASection (JavaScript)

        Represents a CDATA section.

      • DOMCharacterData (JavaScript)

        Provides methods for accessing character data.

      • DOMComment (JavaScript)

        Represents a comment.

      • DOMDocument (JavaScript)

        Represents the root of a document.

      • DOMDocumentFragment (JavaScript)

        Represents a lightweight (or minimal) document.

      • DOMDocumentType (JavaScript)

        Represents a definition of a document.

      • DOMElement (JavaScript)

        Represents an element in a document.

      • DOMEntity (JavaScript)

        Represents an entity, parsed or not, in a document.

      • DOMEntityReference (JavaScript)

        Represents a reference to an entity.

      • DOMException (JavaScript)
      • DOMImplementation (JavaScript)

        Provides methods for operations independent of an instance of the document object model.

      • DOMNamedNodeMap (JavaScript)

        Represent a collection of nodes.

      • DOMNode (JavaScript)

        Represents a node in the Document Object Model.

        • appendChild (DOMNode - JavaScript)

          Appends a child node.

        • cloneNode (DOMNode - JavaScript)

          Clones a node.

        • getAttributes (DOMNode - JavaScript)

          Gets the attributes of an element node.

        • getChildNodes (DOMNode - JavaScript)

          Gets a list of the children of a node.

        • getFirstChild (DOMNode - JavaScript)

          Gets the first child of a node.

        • getLastChild (DOMNode - JavaScript)

          Gets the last child of a node.

        • getLocalName (DOMNode - JavaScript)

          Gets the local part of the qualified name of a node.

        • getNamespaceURI (DOMNode - JavaScript)

          Gets the namespace URI of a node.

        • getNextSibling (DOMNode - JavaScript)

          Gets the next node at the current level.

        • getNodeName (DOMNode - JavaScript)

          Gets the name of a node.

        • getNodeType (DOMNode - JavaScript)

          Gets a code representing the node type.

        • getNodeValue (DOMNode - JavaScript)

          Gets the value of a node.

        • getOwnerDocument (DOMNode - JavaScript)

          Gets the document associated with a node.

        • getParentNode (DOMNode - JavaScript)

          Gets the parent node.

        • getPrefix (DOMNode - JavaScript)

          Gets the namespace prefix of a node.

        • getPreviousSibling (DOMNode - JavaScript)

          Gets the previous node at the current level.

        • hasAttributes (DOMNode - JavaScript)

          Checks if an element node has attributes.

        • hasChildNodes (DOMNode - JavaScript)

          Checks if a node has children.

        • insertAfter (DOMNode - JavaScript)

          Inserts a new node after an existing node.

        • insertBefore (DOMNode - JavaScript)

          Inserts a new node before an existing node.

        • isSupported (DOMNode - JavaScript)

          Checks if a feature is implemented and supported by a node.

        • moveNodeDown (DOMNode - JavaScript)

          Moves a node down in its node list.

        • moveNodeUp (DOMNode - JavaScript)

          Moves a node up in its node list.

        • normalize (DOMNode - JavaScript)

          Puts all text nodes under a node, including attribute nodes, into a normal form where only structure (for example, elements, comments, processing instructions, CDATA sections, and entity references) separates text nodes. That is, there are neither adjacent nor empty text nodes.

        • removeChild (DOMNode - JavaScript)

          Removes a child node.

        • replaceChild (DOMNode - JavaScript)

          Replaces a child node.

        • setNodeValue (DOMNode - JavaScript)

          Sets the value of a node.

        • setPrefix (DOMNode - JavaScript)

          Sets the namespace prefix of a node.

      • DOMNodeList (JavaScript)

        Represents an ordered collection of nodes.

      • DOMNotation (JavaScript)

        Represents a notation in the document definition.

      • DOMProcessingInstruction (JavaScript)

        Represents processor-specific information in the text of the document.

      • DOMText (JavaScript)

        Represents the content (character data) of an element or attribute.

      • DOMUtil (JavaScript)

        Represents utility methods.

      • NamespaceContext (JavaScript)

        Represents a namespace context.

      • NamespaceContextImpl (JavaScript)

        Manipulates a namespace context.

    • Domino®

      This library provides access to the IBM® Domino® back-end.

    • Runtime (JavaScript)

      The Runtime library contains classes that provide useful methods for globalization.

    • Standard (JavaScript)

      The Standard library contains classes for manipulating data of different types and performing common operations.

    • XSP (JavaScript™)

      The XSP library contains classes that access the browser context.

cloneNode (DOMNode - JavaScript)

Clones a node.

Defined in

DOMNode

Syntax

cloneNode(b:boolean) : DOMNode

To add feedback about this topic, select the following checkbox:
  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences