Prevent jQuery from traversing parts of document
<p>I am working on a website with heavy use of Ajax request that build up a tab based structure in the DOM. My concern is that the DOM will accumulate so many tabs and elements that JQuery selectors will eventually perform poorly.</p>

<p>Is there a way to maintain a large DOM, but offer JQuery a "hint" to exclude certain sections. For example I would like to maintain the elements in the DOM, but only have my JQuery selectors apply to the active tab.</p>

<p>I was hoping there would be some sort of "ignore" tag that I could dynamically apply to inactive sections</p>

<p>Perhaps it's an alternative to store the inactive tab elements in the data dictionary, and bring them in and out of the DOM as they come into focus.</p>
