jQuery hide/show div using variables
<p>I am a nOOb to jQuery.</p>

<p>I want to use variables in jQuery to hide/show divs.</p>

<p>what I have so far is:</p>

<pre><code>$(document).ready(function(){
    $('#listMenu a').click(function () {
            var getPage = $(this).attr("id");
            var getName = $(this).attr("name");
            //console.log(getPage);
            //console.log(getName);

            $("#" &amp; getName ).show();



    });
});
</code></pre>

<p>firebug console shows that I have the vars correctly,
but I get this error next:</p>

<p>this[H].style is undefined
[Break on this error] (function(){var R=/((?:((?:([^()]+)...typeof K==="string"?K:K+"px")}})})(); </p>

<p>any help is appreciated.
sjs</p>
