javascript - how to prevent scroll up on chrome for a href="#" -
so have
<a href="#" onclick="return false">link</a> and return false there wont' scroll when click on it. works in ie , firefox, in chrome still scrolls nonetheless...
how prevent happening in chrome?
thanks in advance
there no spoon
-the matrix
use: <a href="javascript:;">link</a>
Comments
Post a Comment