title: Change select menu value using click function
body: <p>I am changing a select menu value using click function, It is changing a value. But I have also attached a change event with the select menu but it is not executing if we change select menu value from outside. The problem can be fixed by using <code>$('select').change()</code> that will trigger the change event but why we need to do this because we are already changed a value of select menu then change function should fired.</p>
  
  <pre><code>$('select').change(function(){
  alert(0)
  })
  
  $('a').click(function(){
  $('select').val(1)
  })
  </code></pre>