I used Google Login API in form. After logged in user, I used window.location.href
to redirect user to another page, but it is not working in iPad
and iPhone
.
window.location.href = "";
I used Google Login API in form. After logged in user, I used window.location.href
to redirect user to another page, but it is not working in iPad
and iPhone
.
window.location.href = "http://example./test";
Share
Improve this question
edited Oct 18, 2014 at 12:54
George G
7,70512 gold badges48 silver badges61 bronze badges
asked Oct 18, 2014 at 12:42
phpdevloper1phpdevloper1
511 silver badge2 bronze badges
1
-
Probably because you are doing something before it. In other words, the first step in your click event handler must be
window.location.href = "https://example.";
. – Ronnie Smith Commented Feb 13, 2023 at 23:19
1 Answer
Reset to default 5remove href
as shown below
window.location = "http://example./test";
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744345232a4569643.html
评论列表(0条)