javascript - 移动版QQ内置的webview怎么实现window.location.href?
PHP中文网
PHP中文网 2017-04-11 11:03:15
0
2
922

如题,
我的页面里边有个地址是通过ajax获取动态url之后执行的window.location.href= xxx
好像移动端QQ里打开的webview屏蔽了window.location.href?
有什么比较好的解决办法吗……

PHP中文网
PHP中文网

认证0级讲师

répondre à tous(2)
阿神

jQuery

$.ajax({
  url: "/target",
  context: document.body
}).done(function(data) {
   $("body").html(data);
});
迷茫

试试window.location=xxx

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!