[jQuery] Re: Is this bug in IE or ui tabs

2009-02-06 Thread Varun Khatri
any ideas ? On Thu, Feb 5, 2009 at 5:56 PM, Varun Khatri wrote: > I am using a function like : >$('.ui-tabs-nav').bind('tabsselect', function(event, ui) { > $("input[rel='currentTab']").val(ui.index); > $("#example > div.ui-tabs-panel").empty(); > > }); > > > It just removes every

[jQuery] Re: Is this bug in IE or ui tabs

2009-02-05 Thread Varun Khatri
I am using a function like : $('.ui-tabs-nav').bind('tabsselect', function(event, ui) { $("input[rel='currentTab']").val(ui.index); $("#example > div.ui-tabs-panel").empty(); }); It just removes everything from tab , buttons , textbox , table everything... I want that when I click

[jQuery] Re: Is this bug in IE or ui tabs

2009-02-05 Thread James
Are your tabs AJAX? I had a similar issue, but it didn't work in Firefox also. Apparently this occurred for me because everytime you click on a tab, the AJAX loaded HTML remains in the DOM. This is an issue if you have separate tabs HTML with elements that have the same ID, as this will cause mult