okay so I'm slowly learning jquery and need some help i've looked around and tried some things with no luck. anyways I have a html dom structure like this:
<div id='foo'>
   <div class='1'>
       <div class='a'></div><div class='b'> </div
   </div>
   <div class='2'>
       <div class='a'></div><div class='b'> </div>
   </div>
   <div class='3'>
       <div class='a'></div><div class='b'> </div>
   </div>
</div>
what I'm trying to accomplish is when i click a button one of (1,2,3 all) my jquery show's 
only the respective class inside foo or in case of all all classes. 
example: I click button 1 the dom looks like this 
<div id='foo'>
   <div class='1'>
       <div class='a'></div><div class='b'> 
   </div>
</div>
now i've tried doing this with the following command's i've found from solution's to other similar post on SO with no luck: (I have the all case working but none of the individual cases)
 $("#foo").find(".1").fadeOut();
 $("#foo  .1").fadeOut();
 $("#foo > .1").fadeOut();
 $("#foo,  .1").fadeOut(); // this just fades out all of foo
so How do I do this properly? so that i get my desired result, or have I missed a major concept somewhere, and this is not possible?
Note on edit: i have edited to properly close the div ... this is something i accidently did as the example is much simplified from entire code