Show/Hide divs using Jquery
<p>I am having issues showing one div then hiding the previous div. </p>

<pre><code>var newElem = '#ID' + numVariable;
 $('.elemPropGlobal').hide();

 $(newElem).click(function (){
   $('.elemPropGlobal').hide();

   $($(this).attr('id') + 'Properties').show();

}
</code></pre>

<p>Divs that I click on</p>

<pre><code>&lt;div class="something" id="ID1"  &gt; some data&lt;/div&gt;
&lt;div class="something" id="ID2"  &gt; some data&lt;/div&gt;
</code></pre>

<p>Divs that should show and hide </p>

<pre><code>&lt;div class="elemPropGlobal" id="ID1Properties"  &gt; 

&lt;div class="elemPropGlobal" id="ID2Properties"  &gt; 
</code></pre>
