S
S
Stanislav Pochepko2016-01-06 12:07:39
JavaScript
Stanislav Pochepko, 2016-01-06 12:07:39

How to get the title of the previous page to implement the back button?

The crux of the matter is this. How to get the title of the previous page to implement the back button in the form

<a href="javascript:history.back()">Вернуться назад</a>

I want to display the title of the previous page in the "Go back" place.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Litvinenko, 2016-01-06
@DJZT

HTML5 History API

I
Ilya Bobkov, 2016-01-06
@heksen

It is possible to bring in localstorage at transition.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question