How can I set extra parameters to the query like
q=myseed&filter=1,2,34
better will be with a attached event like
onFocus:function(){
//retrieve extra params
}
Here is a link to the plugin - http://loopj.com/jquery-tokeninput/
Here is how you could do it, in the example below I am passing two extra param to the tokenInput url.
this.$("#abcTextbox").tokenInput("url?someParam1=cricket&someParam2=yasser", {
queryParam: "q"
});
Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With