What are alternatives to [removed]?

后端 未结 10 2146
北荒
北荒 2020-11-22 05:11

In tutorials I\'ve learnt to use document.write. Now I understand that by many this is frowned upon. I\'ve tried print(), but then it literally sen

10条回答
  •  一个人的身影
    2020-11-22 05:37

    Try to use getElementById() or getElementsByName() to access a specific element and then to use innerHTML property:

    
        
            

提交回复
热议问题