jQuery tokeninput plugin + passing id to another tokeninput url
- by Elson Solano
I am using a jquery plugin called jQuery Tokeninput http://loopj.com/jquery-tokeninput/ and I am having a logic issue.
var country_id = "";
jQuery("#demo-input-prevent-duplicates").tokenInput(host+"/forms/campaign_location.php?action=country", {
theme: "facebook",
hintText: "Enter a Country...",
placeholder:…