I'm trying to alter the extraParams in this plugin based on a user action.
var t = new $.TextboxList('#entSearch', {unique: true, plugins: {
autocomplete: {
minLength: 3,
queryRemote: true,
placeholder: false,
remote: {
url: "{{=URL(r=request, f='call/json/suggest')}}",
extraParams: {type: "", guid: ""}
}
}
}
});
Executing the following line throws an error: autocomplete.remote is undefined
var tmp = autocomplete['remote']['extraParams']['type'];
Is there a way to access these inner properties of the plugin like I would reference them in a dict?