I have a form which has many fields including two icons which redirect user on a new tab.
1st Link
<span class="uk-input-group-addon">
<a onclick="window.open('https://www.myURL.com/folder1/page_name', '_blank')" style="margin-bottom: -20px;"><i class="material-icons light-green-text text-darken-1"></i></a>
</span>
2nd Icon:
<span>
<a onclick="window.open('http://secondURL.com/subPath/subPath/Pages/default.aspx', '_blank')" style="margin-bottom: -20px;"><i class="material-icons light-green-text text-darken-1"style="overflow:hidden"></i></a>
</span>
The first link works just fine and open page in a new window in any device & any platform.
the second link works fine and open page in a new window on windows platform only and some apple devices.
The difference between both links is the first link is https
& the second link is Http
only.
Is it the real problem ?
How many cases are there in which window.open
will not open link in the new page ?
Is it possible that it opens up a new tab but the link won't show on the new tab like a blank new tab ?
I would comment as it is not a proper answer, but I don't have enough rep; you should probably suspect the compatibility between iOS/the browser used and ASP.NET.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.