Skip to content
ExamplesOpen editor ↗

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.

NameTypeDescription
elementeelementeThe element wrapper receiver.
leinamokwaloHTML attribute name.
boleng (optional)mokwaloAttribute value; omit to read.
Reads or sets an HTML attribute.
tiro setaLoeto() {
  tlosaKanefase();
  diri e = bopaTsenyo();
  nonofoYaElemente(e, "placeholder", "Leina la gago");
}

bopaTemana, dirisaMoGo