This tutorial will help you to understand the details of yii ajax request and response from controller. I will change the product list based on category change via ajax. When i change the “category” dropdown, Ajax will send the request to “site/productlist” controller. Now controller will get and process the data then finally It will return the json encoded array.Using this response we can update product drop down list.In view.php<?php […]... Read More »