Answer the question
In order to leave comments, you need to log in
backbone events?
Good day to all. I'm using a pseudo select - which is input. In Backbone I'm trying to catch changes - change input . but alas, the backbone does not see these changes. How to be a pseudo select sets the value -
$(this).parents('.drop-menu').find('input').attr('value', $(this).attr('id'));
Answer the question
In order to leave comments, you need to log in
It's not clear from the question, but it should be like this:
If for some reason you cannot correct the method of changing the value to the correct one, then the attribute change can be caught through MutationObserver ( caniuse ).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question