How can I set extra parameters to the query like
q=myseed&filter=1,2,34
better will be with a attached event like
onFoc
Besides going into the actual plugin code and adding this feature the only other way I can see doing this is by changing the queryParam
to something like -
filter=1,2,34&q
That way your filter is simply appended to the actual query parameter. It'd have to be hard coded and you will probably have to reinitialize the plugin every time you want to alter this additional filter.
Example -
$("#selector").tokenInput("PATH_TO_SCRIPT", {
queryParam: "filter=1,2,34&q"
});