title: Boostrap change color on click
body: <p>I got this code, everything i ok, and functional.
  I need option to change color of heart when i click .</p>
  
  <p>Now:</p>
  
  <p>Click on gray empty heart will give full gray full heart</p>
  
  <p>I need:
  Click on gray empty heart will give full RED full heart</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(function($) {
    $(document).on('click', '.box-btn', function(event) {
      var target = $(event.target).closest('.wrapper');
      target.find('.glyphicon').toggleClass('glyphicon-heart-empty glyphicon-heart');
   
      
    });
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.box-btn {
       float:left;
      background: transparent;
      font-size: 53px;
      color: #4D4E56;
      font-weight: 300;
      cursor: pointer;
      border-radius: 2px;
      line-height: 0.5;
      border: none;
   outline:none;
  
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;button type="submit" class="box-btn"&gt;&lt;span class="glyphicon glyphicon-heart-empty" aria-hidden="true"&gt;&lt;/span&gt;&lt;/button&gt;</code></pre>
  </div>
  </div>
  </p>