0

Hello all,

I have this code in laravel. I wonder how to keep the tab theme selected even after pressing purchase button (on the bottom) or refresh pages. Usually it changes to profile tab being selected after refresh page. Any clue?

<section id="content-desc">
    <a class="plus-minus-toggeler"><span class="glyphicon glyphicon-minus"></span></a>
    <div class="backend-box backend-box-email">
        <div class="backend-nav">
            <ul style="margin-top: 20px;height: 32px;" class="nav nav-tabs" role="tablist">

                <li  class="active"><a id="tab_setting" href="#setting" aria-controls="setting" role="tab"
                       data-toggle="tab">Profile</a></li>
                 <li  ><a id="tab_account" href="#account" aria-controls="setting" role="tab"
                       data-toggle="tab">Account</a></li>
                <li  ><a id="tab_themes" href="#themes" aria-controls="setting" role="tab"
                       data-toggle="tab">Themes</a></li>

            </ul>
        </div>
2
Contributors
2
Replies
17
Views
2 Months
Discussion Span
Last Post by diafol
0

I'd assume that each sum bit would pass on the info e.g URL query string or pass a var to js or to the tablist. Should be quite simple to do.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.