title: jQuery and HTML - clicking on current div box id to display sub dvi box content
body: <p>This is a my jQuery and HTML code. </p>
  
  <p>my goal is when I click on the current box1, box2 or box3 , I want to display current sub box.</p>
  
  <p>For example : when I click on current box1 should be open current sub_box_1, and so. I did some jQuery code but I can't get result.</p>
  
  <p>Thanks!</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).ready(function() {
    $('.sub_box').hide();
    $('.box').click(function() {
      $(this).$('#sub_box_1').show();
    });
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.box {
    width: 150px;
    height: 150px;
    float: left;
    margin-left: 20px;
    border: 1px solid #333;
    margin-top: 10px;
  }
  .sub_box {
    width: 150px;
    height: 150px;
    border: 1px solid #09c;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;html&gt;
  
  &lt;head&gt;
  
  &lt;/head&gt;
  
  &lt;body&gt;
    &lt;div id="wrapp"&gt;
  
      &lt;div id="1" class="box"&gt;
        &lt;b&gt;Box 1&lt;/b&gt;
  
        &lt;div id="sub_box_1" class="sub_box"&gt;
          &lt;input type="text" name="user_name" placeholder='User Name' /&gt;
          &lt;button&gt;ADD&lt;/button&gt;
        &lt;/div&gt;
        &lt;!--sub_box_1--&gt;
      &lt;/div&gt;
      &lt;!--1--&gt;
  
      &lt;div id="2" class="box"&gt;
        &lt;b&gt;Box 2&lt;/b&gt;
        &lt;div id="sub_box_2" class="sub_box"&gt;
          &lt;input type="text" name="user_email" placeholder='User Email' /&gt;
          &lt;button&gt;ADD&lt;/button&gt;
        &lt;/div&gt;
        &lt;!--sub_box_2--&gt;
      &lt;/div&gt;
      &lt;!--2--&gt;
  
      &lt;div id="3" class="box"&gt;
        &lt;b&gt;Box 3&lt;/b&gt;
        &lt;div id="sub_box_3" class="sub_box"&gt;
          &lt;input type="text" name="user_phone" placeholder='User Phone' /&gt;
          &lt;button&gt;ADD&lt;/button&gt;
        &lt;/div&gt;
        &lt;!--sub_box_3--&gt;
      &lt;/div&gt;
      &lt;!--3--&gt;
  
    &lt;/div&gt;
    &lt;!--wrapp--&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>