title: How to trigger the onclick / onchange event for a already selected option clicks in javascript
body: <p>I am trying to get option value of an already selected option in the select choice list. How can I make it possible. Here is my code snippet</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(){
      $("#getCusineType").bind('click', function() {
           alert($(this).find('option:selected').val());
      });
      $("#getCusineType").bind('focusout', function() {
           alert($(this).find('option:selected').val());
      });
      function getCusineType(){
        var getCusineType = $('#getCusineType').val();
      }
    });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;select id="getCusineType" onchange="getCusineType()"&gt;
     &lt;option value="1"&gt;Indian&lt;/option&gt;
     &lt;option value="2"&gt;American&lt;/option&gt;
     &lt;option value="3"&gt;Italian&lt;/option&gt;
     &lt;option value="4"&gt;General&lt;/option&gt;                 
   &lt;/select&gt;</code></pre>
  </div>
  </div>
  </p>