Executing [removed] elements inserted with [removed]

后端 未结 20 2859
囚心锁ツ
囚心锁ツ 2020-11-22 00:12

I\'ve got a script that inserts some content into an element using innerHTML.

The content could for example be:



        
20条回答
  •  滥情空心
    2020-11-22 01:01

    You may take a look at this post. The code might look like this:

    var actualDivToBeUpdated = document.getElementById('test');
    var div = document.createElement('div');
    div.innerHTML = '
    
                                     
                  
提交回复
热议问题