title: multiple text inputs need onfocus to show multiple div
body: <p>Thanks for looking at my question. Basically what is going on, I have several (12) input fields (id="editname") and the divs (id="iconbar") on 1 page. I would like the icon bar to slide in when you click on the input field, and slide out when one of the following occurs:
  1. onblur
  2. click on the check
  3. click on the x</p>
  
  <p>I have jquery loaded on the page as well.</p>
  
  <p>There is an $id variable that gets the database's record id so I can assign it to the ids if needed.</p>
  
  <p>Any assistance would be very much appreciated. Here is my code:</p>
  
  <pre><code>&lt;div class="recordset"&gt;
      &lt;div class="boxes"&gt;
          &lt;input type="text" name="name" id="nameedit&lt;?php echo $id; ?&gt;" value="'.$name.'" /&gt;
          &lt;input type="hidden" name="number" value="'.$number.'" /&gt;
          &lt;input type="hidden" name="id" value="'.$id.'" /&gt;
          &lt;div class="clearfix"&gt;&lt;/div&gt;
          &lt;div class="recordbottom"&gt;
              &lt;div class="playrecord"&gt;
                  &lt;embed ... (left blank) /&gt;
              &lt;/div&gt;
              &lt;div class="icons" id="icons&lt;?php echo $id; ?&gt;"&gt;
                  &lt;a href="records.php"&gt;&lt;img src="x.png" width="18" /&gt;&lt;/a&gt;
                  &lt;a href="#"&gt;&lt;img src="check.png" width="18" /&gt;&lt;/a&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>If you have any other questions, please don't hesitate to ask.</p>
  
  <p>EDIT:
  I have tried about 25 - 30 different methods even simple CSS focus psuedos, the latest thing I have been trying is:</p>
  
  <pre><code>$('#nameedit').focus(function() {
      $('div.icons').show().bind('focusoutside clickoutside',function(e) {
          $(this).unbind('focusoutside clickoutside').fadeOut('medium');
      });
  });
  $('div.icons').hide();
  </code></pre>
  
  <p>This did not work out to well, another method I tried was:</p>
  
  <p>well.... I used up all of my Ctrl-Z's so I cannot show anything definitive. I have search jquery, and googled many different tries, as well as about 20 or so from here.</p>
  
  <p>PHP is my main programming language and JS is touch and go for me.</p>