Attr.value

On retrieval, the value of the attribute is returned as a DOMString. Character and general entity references are replaced with their values. See also the method getAttribute on the Element interface. On setting, this creates a Text node with the unparsed contents of the string, i.e. any characters that an XML processor would recognize as markup are instead treated as literal text. See also the method Element.setAttribute.

  1. DOMString value [@property getter]
    interface Attr
    @property
    DOMString
    value
    ()
  2. DOMString value [@property setter]

Meta