I have a button that triggers a modal window to show up. Because of data-toggle="modal"
the url is not changed to www.doman.com/index.html#modalDiv
, and I need it to change.
Is there an elegant way to achieve this?
Only thing that comes to my mind is to have a script that will add the hash to the url, but I was wondering if there is simpler solution.