javascript - layer前端框架和thinkphp结合使用的一些问题 !大神进
阿神
阿神 2017-04-11 12:02:02
0
1
274

小弟在测试项目的时候 用到了layer中的 iframe层 然后在用户列表页面新增用户用弹出iframe层,比如弹出用户控制器中新增用户的页面!然后新增成功了!然后$this->sucesse("新增成功",U(Index/index)); 面跳转到了用户列表页 但是是显示在刚刚弹出的iframe层中的,弹出框不关闭 !这样的情况怎么办 试了很多办法都没用 !求高人指点

阿神
阿神

闭关修行中......

répondre à tous(1)
大家讲道理

用js控制跳转啊,类似这样
var that = this;
$.get("xx.php","",function(response){

if(response=='1'){
    that.parent.location='xxx.php';
}

})

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!