I have an activeCheckBox that when the value is changed i want it to update the mysql database as soon as it is changed. I just started working with Yii and have only a little experience with php and javascript. here is the view code for the activeCheckBox:
I was looking through the documentation an noticed a clientChange htmloption which has an ajax option which i thought could be useful to my situation but i’m not really sure. Can someone help point me in the right direction or show me how to incorporate the clientChange option?