This is my code:
$(document).on(\'change\', \'#tblhotel-int_zone_id\', function(e){ var zoneId = $(this).val(); var form_data = { zone: zoneI
You need to disable CSRF validation in the before action function:
public function beforeAction($action) { if($action->id == "action name need to disable") $this->enableCsrfValidation = false; return parent::beforeAction($action); }
Or using the GET method.