0

On a screen assume that there is a division..below that there is a button..on pressing the button, 1 should be printed in div..

How to do that in a very simple way??

20th Jul 2020, 7:35 AM
Adeeb Khan
2 ответов
+ 2
button.onclick=()=>{ div.innerHTML=1; }
20th Jul 2020, 7:38 AM
Abhay
Abhay - avatar