Ajax Populated Dropdown List For Country And State. How ?

I’m using CActiveForms to create my form elements. I created 2 dropdown lists one for country and the other for state. When I choose the country, I want an ajax call query the list of states/regions under that country and populate the second dropdown with those data. How can I do that nicely and cleanly ?

I appreciate your help in advance.


here is very detailed article written by dalip


help yourself