我正在使用这个标记插件:http: //xoxco.com/projects/code/tagsinput/
文档中未涵盖的一件事是如何获取当前输入的值。我需要这个来为自定义自动完成器构建查询字符串。
$('#tags').tagsInput({
autocomplete_url:'http://myserver.com/api/autocomplete?term='(??????),
autocomplete:{selectFirst:true,width:'100px',autoFill:true}
});