Jump to main content
HCL Logo Product Documentation
Customer Support HCLSoftware U Community Forums Customer Idea Portal
IBM Domino Designer
  • IBM Domino Designer Basic User Guide and Reference
  • Designer XPages User Guide
  • JavaScript and XPages reference
  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. DOMElement (JavaScript)

    Represents an element in a document.

  5. setValue (DOMElement - JavaScript)

    Sets the given value to the given element.

 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.

        • getAttribute (DOMElement - JavaScript)

          Gets the attribute for this element with the given name.

        • getAttributeNode (DOMElement - JavaScript)

          Gets the attribute node for this element with the given name.

        • getAttributeNodeNS (DOMElement - JavaScript)

          Gets the attribute node for this element with the given name and within the given namespace.

        • getAttributeNS (DOMElement - JavaScript)

          Gets the attribute for this element with the given name and within the given namespace.

        • getBooleanValue (DOMElement - JavaScript)

          Gets the boolean value of a data element.

        • getBooleanValues (DOMElement - JavaScript)

          Gets a boolean array of values from an XPath.

        • getDateValue (DOMElement - JavaScript)

          Gets the date value of a data element.

        • getDateValues (DOMElement - JavaScript)

          Gets the date value of a data element.

        • getDoubleValue (DOMElement - JavaScript)

          Gets the double value of a data element.

        • getDoubleValues (DOMElement - JavaScript)

          Gets the double value of a data element.

        • getElementsByTagName (DOMElement - JavaScript)

          Gets a node list of all descendant elements with a given tag name in the order in which they are encountered.

        • getElementsByTagNameNS (DOMElement - JavaScript)

          Gets a node list of all descendant elements with a given local name in the order in which they are encountered.

        • getIntValue (DOMElement - JavaScript)

          Gets the integer value of a data element.

        • getIntValues (DOMElement - JavaScript)

          Gets the integer values of the data elements that match an XPath.

        • getStringValue (DOMElement - JavaScript)

          Gets the string value of a data element.

        • getStringValues (DOMElement - JavaScript)

          Gets the string values of the data elements that match an XPath.

        • getTagName (DOMElement - JavaScript)

          Gets the name of the element.

        • getXMLString (DOMElement - JavaScript)

          Converts a JDOM element into a string, or converts a JDOM element into a string with no XML declaration line.

        • hasAttribute (DOMElement - JavaScript)

          Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise.

        • hasAttributeNS (DOMElement - JavaScript)

          Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.

        • nodes (DOMElement - JavaScript)

          Evaluates the given XPath expression in the given element, and returns an array with all elements and attributes that match this XPath.

        • removeAttribute (DOMElement - JavaScript)

          Removes the supplied attribute should it exist.

        • removeAttributeNode (DOMElement - JavaScript)

          Removes the attribute with the given name and within no namespace.

        • removeAttributeNS (DOMElement - JavaScript)

          Removes the attribute with the given name and within the given namespace.

        • setAttribute (DOMElement - JavaScript)

          Sets an attribute value for this element.

        • setAttributeNode (DOMElement - JavaScript)

          Assigns an attribute to an element.

        • setAttributeNodeNS (DOMElement - JavaScript)

          Sets an attribute value for this element in a namespace.

        • setAttributeNS (DOMElement - JavaScript)

          Sets an attribute value for this element in a namespace.

        • setBooleanValue (DOMElement - JavaScript)

          Sets the boolean value of an element.

        • setDateValue (DOMElement - JavaScript)

          Sets the date and time value of an element.

        • setDoubleValue (DOMElement - JavaScript)

          Sets the double value of an element.

        • setIntValue (DOMElement - JavaScript)

          Sets the integer value of an element.

        • setStringValue (DOMElement - JavaScript)

          Sets the string value of an element.

        • setValue (DOMElement - JavaScript)

          Sets the given value to the given element.

        • value (DOMElement - JavaScript)

          Gets a string value from the first XPath matching element.

        • values (DOMElement - JavaScript)

          Gets the string values from the XPath matching elements, or gets the string values from the XPath matching elements for a Namespace.

      • 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.

      • 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.

setValue (DOMElement - JavaScript)

Sets the given value to the given element.

Defined in

DOMElement

Syntax

setValue(xpath:string, value:string) : void

setValue(xpath:string, value:string, selectionNS:NamespaceContext) : void

  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences