Jquery UI Tabs: How do i hide a tab and its corresponding div when i close it

后端 未结 7 1153
隐瞒了意图╮
隐瞒了意图╮ 2021-01-13 00:30

I have used Jquery UI Tabs, and given close option to the tabs. By default i am creating three tabs and its corresponding three divs. Now when i close a tab then the tab and

7条回答
  •  遥遥无期
    2021-01-13 01:06

    This bugged me for a while too and I ended up writing a small plugin to make it easy. You can check it out here: KylesTechnobabble (with a JSFiddle example).

    Note: This is for jQuery UI 1.9.2. I haven't tested with anything else.

提交回复
热议问题