Here is the demo code:
<ul>
<li><a href="#" class="button is-checked" data-filter="*">All</a></li>
<li><a href="#" data-filter=".advertising" class="button"> ADVERTISING </a></li>
</ul>
suppose, advertise is selected and and goes inside it. Clicking on back button sends back to All tab selected, how to get advertise selected.
I tried following codes but doesn't work
<a href="javascript:history.back(1)">Back</a>
<button type="button" onclick="history.back();">Back</button>