Курсы
ВойтиНачать изучение ИИ
Курсы
ВойтиНачать изучение ИИ
+ 11

Attribute

How can I create a attribute to an new element in JavaScript?

javascriptattributes
19th Dec 2018, 1:07 PM
Roopesh
Roopesh - avatar
2 ответов
+ 6
use createAttribute https://www.w3schools.com/jsref/met_document_createattribute.asp setAttribute https://www.w3schools.com/jsref/met_element_setattribute.asp
19th Dec 2018, 1:25 PM
🇵🇰 Danish Khan 🇵🇰
🇵🇰 Danish Khan 🇵🇰 - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
4 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Python intermediate help with dictionaries
0 Votes
Fill in the blank to declare a static variable.
0 Votes
Marquee
1 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Any Advise?
1 Votes
Popsacles Aufgabe
1 Votes