How to set a default tab with Jquery UI

后端 未结 3 1343
时光取名叫无心
时光取名叫无心 2021-02-13 17:42

I\'m using Jquery and Jquery UI with the following:

$(document).ready(function() {
    $(\'#tabvanilla > ul\').tabs({ fx: { height: \'toggle\', opacity: \'tog         


        
3条回答
  •  野性不改
    2021-02-13 18:41

    $('#tabvanilla > ul').tabs({ selected: 1 });
    

    More details on the specifications page.

提交回复
热议问题