nemozes vytvorit element len tak s atributom ako to robis.
Musis si najprv vyrobit atribut cez metodu createattribute a potom tento atribut priradit elementu cez appendChild.
Vsetko je v dokumentacii.
nemozes vytvorit element len tak s atributom ako to robis.
Musis si najprv vyrobit atribut cez metodu createattribute a potom tento atribut priradit elementu cez appendChild.
Vsetko je v dokumentacii.