Search and Top Navigation
#4259 closed bug (notabug)
Opened March 02, 2009 12:28PM UTC
Closed March 03, 2009 08:01PM UTC
Last modified October 11, 2012 09:15PM UTC
DOM Elements conflicting
Reported by: | jane1916 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.tabs | Version: | 1.6rc6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When two contents contain DOM elements with same name they conflict.
The contents are loaded by AJAX and is difficult to change the DOM Element names. I have tried caching the contents of the 1st div while hiding but the problem is when the div is loaded again the javascript in that div re-initializes all the widgets again which is not required.
Please let me know if there is a way to solve this problem
Ids in a document have to be unique as per specification. I cannot offer a workaround for scripting on top of an invalid DOM.