Currently I have an application have I have tabs for 1 section, then I remove the HTML ( and the div that was affected with the
$.tabs() ), load up new tabs ( each tab loads via ajax ), then re-bind
$.tabs() to the same div id. Basicly redoing the tabs.
So far the effect of doing this is that UI is making "New" tabs for each reload. ( I inspected the elements using Chrome, and it was going upwards of #ui-tabs-16 at the time. So is there a way, I can "Un-bind" the
$.tabs() function so it'll stop incrementing?
There isn't any errors or anything. Just that when I pro-grammatically
$.remove() the div tabs container. Then I use
$.get to reload the container. I would think that when a DOM element is deleted all the bindings of whatever that was associated with it would be removed as well? Unless theres something else about the jquery remove that I don't know about.