I am having trouble retrieving the current title for a tab in my tabset. My tabs initially have a title of "Loading..." and then once the content of the tab has finished loading, I call tabset.setTabTitle() to update the title to reflect the content that was loaded.
The problem, is that later during the tabSelected event, if I try to retrieve the tab title using tab.title, I get the original "Loading..." instead of what is currently displayed in the visible tab title.
Is there another method for retrieving the title, or am I setting it incorrectly? I'm stumped... thanks!
The problem, is that later during the tabSelected event, if I try to retrieve the tab title using tab.title, I get the original "Loading..." instead of what is currently displayed in the visible tab title.
Is there another method for retrieving the title, or am I setting it incorrectly? I'm stumped... thanks!
Comment