Anchor element not working in firefox and chrome

前端 未结 13 962
甜味超标
甜味超标 2020-12-20 17:36

I have a hyperlink on an image on my client site. It\'s working in IE but when I open the same page in Chrome/Mozilla it\'s not showing the anchor pointer and nothing happen

13条回答
  •  旧巷少年郎
    2020-12-20 18:25

    Simple Work around: This works in all browsers I have tested so far use document.getElementById([anchor tag]).scrollToView(true);

    Example: --from--

    
    

    --to--

     
    

提交回复
热议问题