maybe I missed my answer somewhere in another post but I've got a problem to use the plugin with a selectbox which is loaded after an ajax request.
The selectbox is loaded after an occurrence of onChange event on another selectbox.
I don't understand where do I have to write the proper code to "link" the new selectbox with the plugin.
I have to precise that the selectbox doesn't exist at all before the ajax request
Thank you very much for your answer
Please read the Updating Chosen Dynamically section of the doc
Updating Chosen Dynamically
thanks but it doesn't help me.
I so this hints in another post but I haven't been able to resolve it.
the problem is that I need to apply the plugin on an element which is not exist in the first place. It only exist when I selected another select. I even try to put this line in the complete or the success callback method in the ajax options and it doesn't work.
can you post some example also linking this option i cant follow... those in the doc....