jsp - Top link now working in Firefox -


we have 1 "top" link @ bottom of each of page in our application. clicking on "top" link navigates page top (scroll bar goes up).

for this, maintaining common piece of code in common jsp

<a id="pagetop"></a> 

while in other jsp pages, code looks like

<a href="#pagetop">top</a> 

the problem top link working fine ie , chrome same not working in firefox. clicking on top link in firefox not navigating page up. please fix issue?

this working,

<html>  <body>  <a id="pagetop">i top</a>  <!-- pages of content goes here -->    <a href="#pagetop">top</a>  </body> </html> 

check fiddle, might have tagging mismatch.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

ios - Possible to get UIButton sizeThatFits to work? -