nonofoYaElemente
Reads or sets an HTML attribute.
nonofoYaElemente(elemente, leina, [boleng])Name only reads an attribute; name/value sets it and returns the wrapper. Attribute names retain their HTML spellings. Checkbox/radio wrappers apply attributes to their input children.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
elemente | elemente | The element wrapper receiver. |
leina | mokwalo | HTML attribute name. |
boleng (optional) | mokwalo | Attribute value; omit to read. |
Examples
Section titled “Examples”tiro setaLoeto() {
tlosaKanefase();
diri e = bopaTsenyo();
nonofoYaElemente(e, "placeholder", "Leina la gago");
}