Quantcast
Channel: StuntCoders » jQuery
Viewing all articles
Browse latest Browse all 10

jQuery refresh page

0
0

Sometimes you really want to refresh page when using jQuery events. So – in order to refresh page on event (in this case click) use following snippet and reload current page.

1
2
3
jQuery('#refresh-link').click(function() {
        location.reload();
});

Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images