$(document).on('change', 'input[name="payment_method"]', function() {
$(document.body).trigger('update_checkout');
});
<div class="wrapper-simple" role="search" method="get" id="searchform" action="' . home_url( '/' ) . '">
<form class="wrapper-simple" role="search" method="get" id="searchform" action="' . home_url( '/' ) . '">
<?php $this->registerJs('(function(){
new Clipboard(\'.copy\');
})();')?>
url: " . Url::to(['add']) . ",
url: " . Url::to(['controllerName/add']) . ",
Yii::$app->response->format = Response::FORMAT_JSON
и тогда Yii вернет ответ в формате json. A объекту конфигурации ajax: 'dataType': 'json'
<div ng-bind-html="myHTML"></div>
<div [innerHTML]="myHTML"></div>