dynamically changing HTML tag

前端 未结 1 995
予麋鹿
予麋鹿 2021-01-23 09:50

Is there a way to dynamically update an HTML tag?

The HTML tag I have is:

hello

Is there a way through

相关标签:
1条回答
  • 2021-01-23 10:14
    document.getElementById("something").innerHTML = 'Something New';
    
    0 讨论(0)
提交回复
热议问题