Reputation: 51
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.com/test";
Upvotes: 4
Views: 8961
Reputation: 636
remove href
as shown below
window.location = "http://example.com/test";
Upvotes: 5