I am in the process of writing a script that builds upon user input,
I have some fields that its values need to be quired from the database,
and if no entry fo
$(document).ready(function() {
$("#expert").tokenInput("source.php", {
theme: "facebook",
noResultsText:'Skill Not Found - Enter to Add',
queryParam:'q',
onResult: function (item) {
if($.isEmptyObject(item)){
return [{id:$("#token-input-expert").val(),name: $("#token-input-expert").val()+'*'}]
}else{
return item
}
},
preventDuplicates:true,
prePopulate:
});