Hello.

I have a simple anchor href link on which I put on click event
handler:

<a href="#" id="pause"></a>
$("#pause").click(function () {
    //do something
});

When I click the link the action will be preformed and the browser
would scroll to the top of the page (because of # in the href
attribute). How do I prevent that?

Thanks for help!

Reply via email to