1
I have this html code using bootstrap tabs:
<div class="tab-pane fade" id="nav-fotos" role="tabpanel" aria-labelledby="nav-fotos-tab">
<br>
<div class="container">
<button type="button" class="form-group btn btn-info" data-toggle="modal" data-target="#cadastraFoto">
<span class="fas fa-plus"></span> Incluir
</button>
</div>
<div class="container">
<div class="read_content" id="read_content"></div>
</div>
</div>
And a redirect in PHP,
$redirect = "retorno.php?id=" . $id . "#nav-fotos&deleted";
header("location:$redirect");
I need this redirect to exactly the #Nav-pictures tab, but it’s not working, this code.
When I click it redirects to the page retorno.php
more does not go to tab Nav-photos
Thus putting:
retorno.php##nav-fotos
doesn’t work?– Jorge.M