before domnodeinserted - javascript

752 Views Asked by At

is it possible to launch an event before the node is inserted? I know that "domnodeinserted" works in 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!

1

There are 1 best solutions below

0
Tim Down On BEST ANSWER

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.