Answer the question
In order to leave comments, you need to log in
How to add hints to jQuery Chosen component?
Good afternoon, dear jQuery gurus. I'm trying to convert a select element into a jQuery Chosen component. I can't figure out how to make Chosen show tooltips. It was possible to hang handlers on select and other elements in the form with scripts, but I still can’t imagine how to do the same for Chosen, since this element is created on the fly and I can’t even manually assign an id to it. Can you please tell me if there are any options?
Answer the question
In order to leave comments, you need to log in
Wrap your select in a #wrappername wrapper, then add a handler for the wrapper like this:
$('#wrappername').on('mousemove', '.chosen-container ', function(){
// код, который отвечает за событие
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question