D
D
Dubolom Unicellular2020-04-28 13:35:07
JavaScript
Dubolom Unicellular, 2020-04-28 13:35:07

How to block a button, even so that no events work?

For example, I have a "button" that executes an event:

$('a').on('click', () => {
  console.log('osos'):
}

But I want to be able to make the event not work at all. How to block any breath of this "button". Tried to set disabled - doesn't work
How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
real2210, 2020-04-28
@duboloms

Here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question