How to hide an element defined by a variable
<p>I have a variable itemid (which is the id of an element) which I want to hide, but firefox tells me this code is illegal:</p>

<pre><code>  $(#(itemid)).hide();
</code></pre>

<p>Is what I am trying not possible or am I just tring it the wrong way? Also, in terms of debugging, is it possible to use javascript variable in alert boxes?</p>

<p>Thanks</p>
