[SOLVED] CJuiAutocomplete like dropdown

I’ve looked around but don’t find what I am looking for: I want CJuiAutocomplete to behave also like a dropdown. That is, I want the list to appear when the CJuiAutocomplete receives focus.

Would someone know how to make the list appear when onFocus is called ?

                    	$this->widget('zii.widgets.jui.CJuiAutoComplete', array(




                        	'source'=>$this->createUrl('master/autoCompleteTexts', array('f'=>'G1')),






                            	'onFocus'=>'console.log("show all items")',



well, guess what - as soon as i posted this i found the solution here