-3
Good morning guys, I have a tab where I have a form that is sent via Ajax to my controller and I want that after the Ajax response the person is redirected to another tab after reloading the page, I need that when I click calculate the person go to Analysis Results someone can give me a light?
Code of the GRT:
<ul class="nav nav-tabs border-0 pt-5 data pt-sm-5 pt-md-1 mt-4 justify-content-center position-fixed mt-md-2 col-sm-12 col-md-12 ml-0 " style="z-index:1;font-size:100%;" id="myTab" role="tablist">
<li class="nav-item data active">
<a class="nav-link data active " id="data" data-toggle="tab" href="#DataInput" role="tab" aria-controls="Data Input" aria-selected="true">Data Input <i class="fa fa-angle-right"></i></a>
</li>
<li class=" bg-light ">
<input class="button" onclick="calculate()" type="submit" name=""
value="Calculate" style="margin-top:5px;">
</li>
<li class="nav-item analise ">
<a class="nav-link analise" id="analise" data-toggle="tab"
href="#Analise" role="tab" aria-controls="Analysis Results " aria-
selected="true"><i class="fa fa-angle-right"></i>Analysis Results
</a>
</li>
<li class="nav-item ">
<a class="nav-link " id="graphs" data-toggle="tab" href="#Graficos"
role="tab" aria-controls="Analysis Results " aria-selected="true"><i
class="fa fa-angle-right"></i>Graph </a>
</li>
</ul>
Greetings Jeison. You may have noticed that [pt.so] follows the structure of questions and answers in which there is a clear distinction between both. What is question is in the question, what is answer is in the answer. So please avoid putting the solution in the question. If you were able to solve the problem and the solution has not yet been posted by another user, you can reply by placing it. It’s not wrong to answer your own question.
– Woss