title: Convert Selection box to checkbox
body: <p>I'm having troubles in getting selection box value inside jQuery. I want selection box value inside check box change of function. ie:</p>
  
  <p>inside</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-html lang-html prettyprint-override"><code>$('input').on('change', function()  //need selection box value here
  });</code></pre>
  </div>
  </div>
  </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-html lang-html prettyprint-override"><code>&lt;select class="selectclass" id="id" &gt;
   &lt;option  value="22" &gt;option1&lt;/option&gt;   
    &lt;option  value="33" &gt;option21&lt;/option&gt; 
  &lt;/select&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Gone through the stackoverflow questions like these but could'nt get what I want</p>
  
  <p><a href="https://stackoverflow.com/questions/13265735/jquery-change-select-to-checkbox">jquery change select to checkbox</a></p>
  
  <p>etc...</p>