autocomplete (sending an additional parametr to server request)
Hello!
I'm trying to use autocomplete with data source from php.
I need to make the request to my script with the 2 parametrs.
- getset.php?get=table&term=some
But still don't understand how.
I need to do something like this:
- $( "#autocomplete" ).autocomplete({
sourcel:'/getset.php',
params: {
'get': 'table'
};
});
But there is no params option in http://api.jqueryui.com/autocomplete/#option-source
Could you help me to solve this problem?