i will try to explain very simple:
I'm calling a div trough a href tag like this:
<a href="#injectie" class="doua-randuri">Injectie</a>
<div id="injectie">
<p>some text</p>
</div>
It's working well but I need to achieve this thing: let's say my link of the page is www.example.com . i would want that when i click the link to call the div the url of my page will change in something like this:
www.example.com/#injectie but without leaving the page. The way I made it it only calls the div but without changing the url. Is there a way to make this happen?