Executing [removed] elements inserted with [removed]

后端 未结 20 2517
囚心锁ツ
囚心锁ツ 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:11

    @phidah... Here is a very interesting solution to your problem: http://24ways.org/2005/have-your-dom-and-script-it-too

    So it would look like this instead:

提交回复
热议问题