0
Good morning, I have a html with several tabs, when I do some procedure, I need to update the page, when you return from the upload, I need you to go back to the tab where I left.
I added some anchors, like id of my tabs:
<div id="aba1"></div>
now I would need to pass the id of my anchor together with javascript.
I’m using the location.reload()
So far, I can use you for that?
How can I do?
Can you add an example of how these links are made? you can pass a query in the url, like
link.html?id=aba1
and read this in javascript. But it would be interesting to describe your problem better because there may be better logic to do this.– Sergio
<a href="#fragment-2">
<div id="fragment-2"> <jsp:include page="casa.jsp" />
</div>
– SilvioYousseff