Commit 57a9443c authored by Shakarim Sapa's avatar Shakarim Sapa

- test

parent 86bc9177
<?php
use yii\widgets\ActiveForm;
use yii\helpers\Html;
use yii\web\JsExpression;
use common\modules\bids\models\Bid;
?>
......@@ -17,9 +18,9 @@ use common\modules\bids\models\Bid;
$form = ActiveForm::begin([
'action' => '/bids/bid/blogadd',
'enableClientValidation' => false,
// 'afterSubmit' => new \yii\web\JsExpression('function($form, data, status, xhr) {
// alert("ASD");
// }'),
'afterSuccessfulSubmit' => new JsExpression('function($form, data, status, xhr) {
alert("ASD");
}'),
'options' => [
'class' => 'subsc_blog_form bids-form',
'data-title' => $title,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment