Is there any way to load css and javascript from a string?

后端 未结 3 976
我寻月下人不归
我寻月下人不归 2021-01-06 10:30

I\'ve seen many examples of loading CSS and javascript dynamically from a file. Here\'s a good example. But is there a way to load CSS or javascript as a string? For exam

3条回答
  •  星月不相逢
    2021-01-06 11:14

    but, this code work on only single HTML file that contain style tag

    
    
        
        
        Document
        
    
    
        
    ```

提交回复
热议问题