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>

Recommended Answers

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.

Jump to Post

All 2 Replies

Member Avatar

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.

Member Avatar

That should be submit*

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.