This project is read-only.

NodeAttributes

getValue

Type: Function
Return: string
Description: Get the value for an attribute

var foo = node.attributes.getValue("bar");
alert(foo);

length

Type: Property (read only)
Return: int
Description: Get the number of attributes in this collection

removeValue

Type: Function
Return: bool
Description: Remove an attribute from this collection

node.attributes.removeValue("foo");

setValue

Type: Function
Return: bool
Description: Add or replace an attribute in this collection

node.attributes.setValue("foo", "bar");

Last edited Feb 4, 2014 at 1:50 PM by oobenoob, version 2