I\'m using bootstrap 3 with jquery 1.10 and I\'m tring to using tags-input plugin (http://timschlechter.github.io/bootstrap-tagsinput/examples/bootstrap3/) but it doesn\'t w
It looks like if you specify both data-role="tagsinput"
and use $('#idInputWhat').tagsinput('add', 'vino');
then it gives that error. Try removing the data-role
attribute, and use only the explicit .tagsinput()
.
I'd consider this a bug in the tagsinput plugin.
Seems to be confirmed here; https://github.com/TimSchlechter/bootstrap-tagsinput/issues/42
Check if you included bootstrap-tagsinput.js script.
It seems working for me: JSBin link