我正在使用 jquery 实现选项卡并且不想使用 jquery UI。如何找到我点击了哪个标签?
这是我的标签结构
<div class="tabs">
<!-- Tabs starts -->
<div class="tabview-content">
<div class="card-panel-selector">
<div class="-card-panel-selector-content">
<div class="card-panel-selection card-panel-current">
<div class="panel- label"><span>XYZ</span>
</div>
</div>
<div class="card-panel-selection">
<div class="panel-label"><span>ABCD</span>
</div>
</div>
<div class="card-panel-selection card-panel-selection-account">
<div class="panel-label"><span>PQRS</span>
</div>
</div>
<div class="card-panel-selection">
<div class="panel-label"><span>ASDF</span>
</div>
</div>
</div>
</div>
</div>
</div>`