how to get an html anchor effect with JQuery
- by frosty
I have a click handler, which has "event.preventDefault". There is whole lot of logic that occurs within this function. At the end of this logic i would like the page to scroll up to the top. ie the same effect as an anchor. ie "
$('.vod-playlist-film a').bind("click", function(event) {
// some logic
// now i need the browser to goto the top of the page
event.preventDefault();
});