jQuery - Reload page after following jump link
Posted
by criley
on Stack Overflow
See other posts from Stack Overflow
or by criley
Published on 2010-03-31T01:11:39Z
Indexed on
2010/03/31
1:13 UTC
Read the original article
Hit count: 391
I'm creating a slideshow effect using hidden div's. Once a thumbnail is clicked, the corresponding div appears in a window and the other divs are hidden. However, I also need the page to reload. I attempted to use something like this:
$("a").click(function() {
location.reload();
});
However, this will reload the page without following the link (something like a href="#div02"). How do I get it to both follow the link and reload the page?
© Stack Overflow or respective owner