How to unload a javascript from an html?

前端 未结 7 2098
予麋鹿
予麋鹿 2020-11-28 10:27

How can I unload a JavaScript resource with all its defined objects from the DOM?

Im developing a simple framework that enables to load html fragments into a \"main\

7条回答
  •  自闭症患者
    2020-11-28 10:55

    perhaps you need to consider conditionally loading it rather than conditionally unloading it...

提交回复
热议问题