title: Change Button color to green when checkbox is checked
body: <p>I want to change the color of button <strong>select menu</strong> when i click(check) on the checkbox.</p>
  
  <p><strong>Button to select menu:</strong></p>
  
  <pre><code>&lt;button id="bttn" onclick="loadMenu()" data-toggle="modal" href="#myModalMenu"
      class="btn btn-circle red-intense"&gt;Select Menu&lt;/button&gt;
  </code></pre>
  
  <p><strong>MODAL:</strong></p>
  
  <pre><code>&lt;div class="modal fade rotate" id="myModalMenu"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-header"&gt;
                  &lt;button type="button" class="close" data-dismiss="modal"
                      aria-hidden="true"&gt;×&lt;/button&gt;
                  &lt;h6 class="modal-title"&gt;&lt;/h6&gt;
              &lt;/div&gt;
  
              &lt;div class="modal-body"&gt;
                  &lt;div class="portlet box orange-meadow"&gt;
                      &lt;div class="portlet-title"&gt;
                          &lt;div class="caption"&gt;
                              &lt;i class="fa fa-gift"&gt;&lt;/i&gt;MENU
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="container"&gt;&lt;/div&gt;
                  &lt;div id="menuView"&gt;
  &lt;ul&gt;
                      &lt;li class="product-list-menu"&gt;&lt;INPUT TYPE="CHECKBOX" id="checkbox_product" NAME="product" VALUE="product" onclick="manageMenuSelection(${product})"&gt; product.name &lt;/li&gt;
  &lt;ul&gt;                
                  &lt;/div&gt;
                  &lt;div class="modal-footer"&gt;
                      &lt;button data-dismiss="modal" class="btn btn-circle red-intense"&gt;Ok&lt;/button&gt;
                      &lt;a href="#" data-dismiss="modal" class="btn"&gt;Skip&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>need a javascript to change the color of button, tried many options and things, but nothing is working.</p>
  
  <p><strong>the id to my checkbox is dynamic and it keep getting change</strong></p>