Answer the question
In order to leave comments, you need to log in
Why doesn't the script work in the pop-up window?
The form opens in a modal window.
When the input is clicked, a class should be added.
So it works on the site, but not in the modal window.
Why?
Answer the question
In order to leave comments, you need to log in
My psychic suggests that you hang the event before the element is created.
Use jQuery('parent static selector').on('event', 'selector', callback);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question