Our shop section is now live, updates soon! Shop now
Guide

Guide: Simple Back

Here's a simple JS script for returning to the last page visited.
January 5, 2019

This one is super simple and a perfect way to return your users to their previous page.
Firstly you will want to give your link a class name (.return) reflective of the script below:

View your page or site settings and include this script into the site footer. We recommend putting this in page settings, if we plan to use this in multiple places.

<script>
$(document).ready(function() {
$(".return").click(function() {
window.history.back();
       });
});
</script>

Tom Bekkers
Details
Guide: Simple Back
Here's a simple JS script for returning to the last page visited.
Preview ProjectClone Project

Discussion

Other Guides

Guide
Count Up
Tom Bekkers
Guide
Free image uploader
Tom Bekkers
News, Updates & Clonables

Join the newsletter for updates

Join 600+ webflow community members.
Welcome to the club. Cool stuff coming your way.
Oops! Something went wrong while submitting the form.