Hi,
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.
Thanks
Boris
Page 1 of 1
extraParams in CAutoComplete
#2
Posted 23 December 2008 - 07:06 AM
Use 'options' property. extraParams is used to pass GET parameters back to the server.
#3
Posted 23 December 2008 - 08:38 AM
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...
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...
#4
Posted 23 December 2008 - 09:10 AM
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".
#5
Posted 25 April 2011 - 03:22 PM
qiang, on 23 December 2008 - 09:10 AM, said:
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?
Meine Fragen stelle ich öffentlich und baue somit eine Wissensdatenbank für andere auf!
#6
Posted 26 July 2012 - 05:06 AM
yii, on 25 April 2011 - 03:22 PM, said:
do you have an example?
here is the example....thanks to him
http://hungred.com/h...-cautocomplete/
Share this topic:
Page 1 of 1

Help
This topic is locked










