In doing internet searches trying to learn how to incorporated ajax into web pages generated by the yii framework I noticed that there seems to be a lot of confusion. I worry that too-clever hacks will be broken in upgrades of the framework.
I'm developing a website that has an option to look up a car's registration number via SOAP and return additional details such as make, model, colour etc.
I had to partially render two types of views, depending on user selection. Wanted to display a GRID or a LIST style with an event that AJAX'ed new contents and update a layer with them.
This page intends to provide an exhaustive guide of how to use Javascript (JS) in Yii.
It does not explain how to learn coding in JS, but how to deal with it "the Yii way".