Good day! How can I check if there is a specific handler on the element or not?

  • In the code in any way, in chrome dev tools you can see. - zb '
  • If the handlers were set via jQuery, then you can and check and get them. - lampa
  • one
    @lampa is also not all clear, $ (parent) .on (event, selector) you do not get it. - zb '
  • You can try using $ ._ data (element, 'events'); I also advise you to look at an article on this topic: habrahabr.ru/post/200114 - Gena Tsarinny

0