weixin_33716154 2016-10-25 08:42 采纳率: 0%
浏览 13

yii php popup重新加载

i have problem where i can make pop up to view 50 customer, but for pageSize must be only 10.

$dataProvider->pagination->pageSize = 10;

the problem when click next page the page, i use renderAjax in controller. javascript

$(function() {
   $('.popupModal').click(function(e) {
     e.preventDefault();
     $('#modal').modal('show').find('.modal-content')
     .load($(this).attr('href'));
   });
}); 

and i use:

<?php
      yii\bootstrap\Modal::begin(['id' =>'modal']);
      yii\bootstrap\Modal::end()
?>

and i attach my screen shoot for my pop up error

my pop up page one

error when click next page

  • 写回答

0条回答 默认 最新

    报告相同问题?