Redirect to another page

location.href = '/the/new/url';

More

Previous
Preview an image before uploading it
Next
Reload the current page