before domnodeinserted - javascript
is it possible to launch an event before the node is inserted? I know that "domnodeinserted" works i开发者_运维问答n gecko based browsers but I that code is executed after the node is inserted. I actually want to execute a code before the node is inserted. Thanks in advance!
No, there is no such event. There is nothing in the list of DOM mutation events specified by DOM Level 2 (or even DOM Level 3) that does what you want.
精彩评论