jQuery event handler .on() not working
The problem is that jQuery(“.date_picker_disabled”) finds elements with that class and binds to them. If elements don’t have the class at the time the binding is made, the events will not be handled. The on function allows you to get round this by handling them on another element when the event “bubbles up to” a … Read more