I have 3 tables: User ,Skill and UserSkill, that means User could have many Skill. I would like to add multiple skills for one user by using only one page. In there, user could choose the skill in the dropdownlist then save. The page need to have ajax function that would refresh the dropdownlist to remove selected skill from the list. Then user continue to add another skill until the user has all the skill.
I dont know how to config the CHtml for the button, the form and the dropdownlist to enable the ajax in Yii. Also, after enable the ajax, how does it connect to php file in the Yii?