0

How do you create a button using JavaScript

4th Mar 2019, 9:24 AM
Benson Muchemi
Benson Muchemi - avatar
2 odpowiedzi
+ 2
//here is short code for you window.onload=function(){ var btn = document.createElement("BUTTON"); document.body.appendChild(btn);} https://www.sololearn.com/learn/JavaScript/2755/
4th Mar 2019, 9:41 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
Thank you Shudarshan...... It really works😉😜👍
6th Mar 2019, 5:51 PM
Benson Muchemi
Benson Muchemi - avatar