<?= $form->field($model, 'car_mark')->dropDownList(
ArrayHelper::map(MarkCar::find()->all(), 'id', 'mark'),
[
'prompt' => 'Select',
'onchange' => '
$.post( "' . Yii::$app->urlManager->createUrl('/ajax/ajax?id=').'"+$(this).val(), function(data){
$("#searchform-car_model").html(data);
} );
'
]);
?>
a:2:{i:0;a:2:{i:0;s:668:" <div class="col-md-8">
<div class="price"><span class="currency">AED</span> <![CDATA[YII-DYNAMIC-0]]></div>
<div class="title">
<p class="heading">TempForPjax</p>
<div class="info">
<p class="city">
All cities </p>
<p class="date">
18 July </p>
</div>
</div>
<div class="details">
<p class="heading">Quick Overview</p>
<hr>
";i:1;a:1:{s:25:"<![CDATA[YII-DYNAMIC-0]]>";s:19:"return $post->price";}}i:1;N;}
yii\web\Controller;