Can JS exchange onclick events of 2 DOMs?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-06-10 09:47:39
0
2
550

It’s not my own website, I made a browser. Some operations need to be hooked. Not very familiar with JS. Is it possible to exchange the click events of two elements? Baidu binds when all the function names are known. If it is unknown, how to get the click event function name of the element?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
仅有的幸福

Find the element, exchange event function, the function name does not exist

曾经蜡笔没有小新

If jq does not need to be exchanged, directly trigger the click method of another element

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template