搜索条件以及结果返回

php,获得url,传入下一个页面,返回时载入

获取url方法:

$model->url=Yii::$app->request->referrer;

载入:
$this->redirect($_POST['DatInstallationInfo']['url']);



$.pjax.reload({container:"#countries"});


$("input[name=radioButtonSelection][value="+selectId+"]").attr("checked",true);
根据value选中radioButton。



$dataProvider->query->asArray()->all();
dataProvider直接获取到数组。
posted @ 2017-12-25 16:21  旺仔小虎屁  阅读(128)  评论(3编辑  收藏  举报