• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 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 odpowiedzi
+ 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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
I have been learning code for about 2 months and I am still not good
1 Votes
Counter
0 Votes
How to learn coding faster
1 Votes
How to make csharp program.cs, other Windows like the launch json and how to add other languages in the same code on ipad
0 Votes
“Algo salió mal” curso HTML text formating
0 Votes
Can someone tell me how good this coding language is? You can look through the code to find syntax in a comment
1 Votes
what is markup language
0 Votes
What is a Mentor?
0 Votes
Why COUNT() doesn’t count NULL values in MySQL?
0 Votes
Django
0 Votes