Why can jquery's DOM selector not find my element?
<p>I'm trying to dynamically set the contents of a div on my page and then call a Jquery method, ala:</p>

<pre><code>document.all("menu").innerHtml = menuHtml;
$('ul.sf-menu').superfish(); 
</code></pre>

<p>However the <code>$('ul.sf-menu')</code> part of the above fails to find any elements (menuHtml does definitely contian a <code>&lt;ul /&gt;</code> with class <code>sf-menu</code>)</p>

<p>I'm <em>very</em> new to jquery and I'm struggling to understand why this fails to find my newly added element.  Is it because its been dynamically added to the DOM, or is it that jquery isn't searching "everywhere"?</p>
