ZVON > References > DOM2 Reference

value (attribute )

Owning interface and usage:  
Attr.value

Member of these other interfaces:  
none

Readonly:   no

Type:   DOMString

Description:  

Note:  
(See also methods getAttribute() and setAttribute() on the Element interface.)

Exception:  
DOMException NO_MODIFICATION_ALLOWED_ERR
This exception raises on setting when the node is readonly.


Example:
JavaScript:
  var attr = document.createAttribute('temp');
  attr.value = 'temporary';
  var output = attr.value;
Output:
desired your browser
temporary