title: show/hide div with button changing text
body: <p>I have an issue that I don't know how to solve with jQuery since I am still very noob.</p>
  
  <p>I have 4 boxes (or more) and each box will have a button "View Details", what I need is that when you click on View Details display a hidden div with the correspondent information of the box but also need that when you the hidden div is displayed, the button change to "Hide Details"-- I can dot it with toggle but the catch is that if you click the button View Details of another box the div doesn't hide and the button with "hide details" won't get back to its default status, hope somebody understand this and help me.</p>
  
  <pre><code>&lt;div id="product_id" class="model_box box"&gt;
       &lt;h3&gt;title&lt;/h3&gt;
  
      &lt;img src="img/products/product_example.png" alt="" width="200px" height="100px"&gt;
      &lt;button id="product_id" href="#model_details_id" class="lightblue nav-toggle view_details"&gt;VIEW DETAILS&lt;/button&gt;
  &lt;/div&gt;
  &lt;div id="product_id" class="model_box box"&gt;
       &lt;h3&gt;title&lt;/h3&gt;
  
      &lt;img src="img/products/product_example.png" alt="" width="200px" height="100px"&gt;
      &lt;button id="product_id" href="#model_details_id" class="lightblue nav-toggle view_details"&gt;VIEW DETAILS&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here's my jfiddle <a href="http://jsfiddle.net/Dx9Wc/" rel="nofollow noreferrer">http://jsfiddle.net/Dx9Wc/</a></p>