Why is code after [removed]() not executed?

前端 未结 8 565
长情又很酷
长情又很酷 2021-01-21 07:36

I have the follwing JavaScript.


    
        

        
8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-21 08:15

    You can write to the document with

        document.write("

    Just a javascript demo

    ");

    only once and it applies to the whole document. If you want to put you will have to add a class/id to it and then put text in that class/id.

提交回复
热议问题