Tagsinput bootstrap does not work

1

I'm using the bootstrap tags input in conjunction with Bootstrap 3 and I'm not getting the typehead to work. Code:

$('#tags').tagsinput();
   $('#tags').tagsinput({
       typeahead: {
       source: $.get('tags.php')
    }
});

tags.php return is

["Uruguaiana","Porto Alegre","Sao Paulo","Rio de Janeiro","Salvador"]

Does anyone know what the problem is?

    
asked by anonymous 27.07.2014 / 07:14

0 answers