$(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\');
})();')?> $stmt->bind_result($topicID);
while ($stmt->fetch()) {
print_r($topicID);
} Yii::setAlias('@frontendHost', 'http://example.com');
echo Html::img('@frontendHost/uploads/team/'. $model->image, ['width' => '150px','height' => '150px']); [
['user_id', 'invite_id'],
'unique',
'targetAttribute' => ['user_id', 'invite_id'],
'filter' => [
'or',
['user_id' => $this->invite_id],
['invite_id' => $this->user_id],
]
], } catch (\Exception $ex) {
throw new NotFoundHttpException('Not found');
} 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> SELECT dept.name, COUNT(emp.id) AS cnt
FROM dept
LEFT JOIN emp
ON dept.id = emp.id_dept
WHERE emp.salary > 1000
GROUP BY emp.id_dept