You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a dynamic select element like jQuery('<select class="chzn-select"></select>') and then for that call chosen plugin it will not work ,
Possible Solution:
This is happening since in the function set_up_html we are creating container as jQuery('#'+container_id) which searches in dom and fails to find . you can use earliear variable container_div and assign it to container .
The text was updated successfully, but these errors were encountered:
I was experiencing the same issue. Your suggested solution was just about perfect; the only problem was that the width of the chosen container element wasn't being calculated appropriately. I've forked and pushed. Check it out. https://github.com/cjlarose/chosen. I'll pull request after I get a more elegant solution to the widths problem.
Also, after you append your element, you must also append the container element. E.g. https://gist.github.com/3021916
Hi ,
Possible Solution:
This is happening since in the function set_up_html we are creating container as jQuery('#'+container_id) which searches in dom and fails to find . you can use earliear variable container_div and assign it to container .
The text was updated successfully, but these errors were encountered: