extraParams in CAutoComplete


can someone please explain how i can use the extraParams? I have a CAutoComplete on the page but it needs to send some other input values to the call.



Use 'options' property. extraParams is used to pass GET parameters back to the server.

I mean sending some other input values as GET or better POST to backend. I thought that would be extraParams. What do you mean with "options".

The problem is, extraParams works but i need it dynamic and this would work as a function callback, but CAutoParam does not allow extraParams be a function.

Sorry, dont get it… :(

You wanna use a js function to supply the values for extraParams? If so, you can still do so by setting extraParams to be "js:functionName".

do you have an example?

here is the example…thanks to him