Click Event Is Not Delegated In Chrome
In my application I create some new elements and append them to the page according to use's operation, var dv=document.createElement('div'); //set styles for the dv ..... After cr
Solution 1:
I notice that you are using two different methods of attaching the listener between your two examples.
It is always best practice to isolate the possible causes by making things as closely duplicated as possible. Try sticking to the same method of attaching the listener for both tests and this might lead you to some insight.
Also, I don't know what "MyLib" is, but if it is some sort of JS library, the problem could be in that library. Try using the native JS methods or a different library.
Post a Comment for "Click Event Is Not Delegated In Chrome"