Bootstrap tagsinput add tag with id and value

后端 未结 5 1279
轮回少年
轮回少年 2021-01-01 23:58

I am using Bootstrap Tags Input

I am trying to add tags dynamically.

$(\'.div-tag\').tagsinput(\'add\', \'vino\');

The above code

5条回答
  •  既然无缘
    2021-01-02 00:49

    I spent few hours to find out, that above working only when data-role="tagsinput" is removed from your

    
    

提交回复
热议问题