简体   繁体   中英

IE link click redirecting issue

Here is my code:

<a id="testBtn" class="test-btn" title="Test" href="https://www.google.com" data-id="loader"><b>Test</b><small>Test Click</small></a>

When I try to click this link, It's redirecting to https://:0/ in IE. But other browsers its working fine. What is the issue here?

For me it seems to be working fine. Did you try to access that url in internet explorer directly? It might be a problem with internet explorer redirecting https://www.google.com to https://:0/ .

The code works well on my side (in IE 11). Try to use F12 developer tools to check the document elements, verify whether the url is changed, Also you could try resetting the IE browser setting or re-install the IE browser.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM