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?