Ich habe einen Knopf in Pjax in Yii2 eingewickelt.Yii2. Button funktioniert nicht nach Pjax reload
Pjax::begin(['id' => 'pjax15', 'options' => ['style' => 'display: inline;']]);
echo Html::button('<span class="glyphicon glyphicon-bell" aria-hidden="true"></span>', [
'value' => Url::to(['vote/create', 'id'=>$model->id]),
'class' => 'linkbutton',
'id'=>'createVote'.$model->id,
'data-toggle'=>'tooltip',
'title'=> 'Assign',
'onfocus' => 'blur();'
]);
Pjax::end();
ich nachladen es von JS, wie folgend:
$.pjax.reload({container:'#pjax15', timeout: 5000});
Aber nach dem ersten laden Sie die Taste nichts funktioniert, wenn ich es klicken. Was ich vermisst habe?