Thursday, March 03, 2011

Renaming Tabs in jQuery UI

jQuery UI has a very nice tab system. However, as of version 1.8.10, there isn't an easy method of dynamically renaming tabs. The main difficulty is that the tab names are stored in an unnumbered list that is parallel to the contents of the tabs. There are a number of hacks and extensions on the web but no one-liners. So here is mine:

3 comments:

Unknown said...

this is not good

Martin Harrigan said...

How come?

richard brooker said...

this is good ... works for me.