How to change tabs programmatically in jquery-ui 1.9?

后端 未结 4 1745
没有蜡笔的小新
没有蜡笔的小新 2020-12-01 14:33

How do you change tabs programmatically with jquery-ui 1.9?

NOTE: Posting the answer because it took me more than 4 searches to find the right answe

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-01 14:59

    The select method is deprecated since 1.9, and was removed in 1.10. Use the active option instead.

    Example (jsfiddle also provided):

    
    
    

    Container 1

    Container 2

    Container 3

提交回复
热议问题