elliotk
10 months ago

Redirect with /link#deeplink

Posted 10 months ago by elliotk

Hello,

I am using Bootstrap 4 Tabs / Pills

https://getbootstrap.com/docs/4.1/components/navs/#javascript-behavior

I have some javascript which updates the URL of the page - see here: https://webdesign.tutsplus.com/tutorials/how-to-add-deep-linking-to-the-bootstrap-4-tabs-component--cms-31180

When I use redirect()->back(); in my controller, the #element gets stripped off my URL. Any idea how to retain it so I can go back to the tab that the user was active on?

THanks

Please sign in or create an account to participate in this conversation.