filter with auto complete

hello every one,

I have a database table, which has several fields, some of these are, like city, state, street, location etc…

I want to develop such a filter with two text fields. if I put the state or city in first text fields , then all the related streets,location or cities have to shown in the second text box…

jst like in foodpanda.com live project

please help me

Your response will be appreciated…

read this: http://www.yiiframework.com/wiki/24/

thanks Maciej Liżewski for reply…

please help me out , how to call any other views like(dynamiccities)in my default layout ??

means, I have a default layout name (store) in my yii application, and I want to call such a filter which is depending on the first drop down list(country or cities) and second drop down is (state or near by locations) depending on the first drop down. All the values in both drop down lists should fetch the data from database tables.

exactly this case is described in link I gave you…