📜 ⬆️ ⬇️

Intercepting an attribute value change from a DOM element using Javascript

I'm trying to solve the problem:

Raise an event when the Input attribute changes to disabled.

Although it is actually an interest in intercepting the change of any attribute,
and in the case of disabled="disabled" , it intercepts the creation and destruction of this attribute.
')
Solving this setInterval task is not rational. If there are 100 such elements,
then the brakes are inevitable. Can someone already deal with this problem?

UPD: One Possible Solution

Source: https://habr.com/ru/post/80397/


All Articles