dom - select2 for dynamically added select not working -


i trying select2 awesome tool work with. facing following issue.

uncaught typeerror: $(...).find(...).select2 not function

this error occurs after try initialise select2 "select" element added in dom based on click action.

while same thing works select present in dom.


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -