the jquery code $("#searchable.dynamic-content") will match on an element that has the id searchable and the class dynamic-content.
That doesn't help us much, since in the code in the issue we are trying
to get at an element with the class dynamic-content that is inside an element with the id searchable. Assuming we have the following
html:
<div id="searchable">
<div class="dynamic-content">...content here...</div>
</div>
the first selector won't match on anything. It would only match if we added the class dynamic-content to the outer div that