jQuery-ui tabs: interference between tabs

Posted by powerboy on Stack Overflow See other posts from Stack Overflow or by powerboy
Published on 2010-04-19T03:33:46Z Indexed on 2010/04/19 3:43 UTC
Read the original article Hit count: 287

Filed under:

I use the jQuery-ui tabs widget as a navigation. Contents of all tabs are load via ajax. Seems that there is interference between tabs. I mean, for example, if in page1 in tab1, there is an element whose ID is foo, and in page2 in tab2, there is an element with the same ID. And in both page, there is javascript code to manipulate the element with ID foo, then weird things will happen.

How to deal with this situation?

© Stack Overflow or respective owner

Related posts about jquery-ui