how to load the Jquery response(HTML page with script tags) into the DOM

后端 未结 2 605
死守一世寂寞
死守一世寂寞 2021-01-26 06:07

test1.html file:






        
2条回答
  •  滥情空心
    2021-01-26 07:02

    you need to do something like this so that it loads script element , so my advise is when you get response replace script string with scri" + "pt

    var code = "
    
                                     
                  
提交回复
热议问题