What can of selector do I need to select for the presence of an ID and a class?
<p>I would like to check for </p>

<pre><code>#dialogOrder
</code></pre>

<p>and </p>

<pre><code>.menu-mask
</code></pre>

<p>Is the following valid and is there an even easier shortcut ?</p>

<pre><code>$("#dialogOrder").$(".menu-mask")
</code></pre>

<p><strong>Update</strong></p>

<p>I just realized I also need to select the element only if it is on a form with the class of menu. Sorry that this was not part of the original question. I hope someone can help me.</p>
