Determine the active tab
-
Hi,
How can I determine when the multi-step checkout is on a particular tab?I need to apply CSS or jQuery to the page when the last tab “Confirm Order” is active.
This is the markup of the “Confirm Order” tab:
<li class="thwmsc-tab tab-active"> <a href="javascript:void(0)" id="step-3" data-step_name="order_review" data-step_title="Confirm Order" data-step="3" class="last active"> <span class="thwmsc-tab-label"><span class="thwmsc-index thwmsc-tab-icon">4 </span>Confirm Order</span> </a> </li>
I need to do something like
if jQuery tab “Confirm Order” is active {
// do this
}Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Determine the active tab’ is closed to new replies.