Answer the question
In order to leave comments, you need to log in
How to insert the last part of a link in href?
Let's say we're on a page whose address is yandex.ru/maps/moscow/search
How to take the last piece /search
and paste it into
<input value="/something/(вставить_сюда)">
?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question