title: Getting the onChange value before actually changing Select Box
body: <p>I'm trying to develop a function to fetch the onChange value from a select box before it actually changes.</p>
  
  <p>Lets imagine I have a select box like this:</p>
  
  <pre><code>&lt;select id='testing_combobox'&gt;
     &lt;option value='0'&gt;Test&lt;/option&gt;
     &lt;option value='1'&gt;Test 1&lt;/option&gt;
     &lt;option value='2'&gt;Test 1&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And when I click in a specific link I run this next jquery code:</p>
  
  <pre><code>$('#link').click(function(){
     $('#testing_combobox').val(299);
  });
  </code></pre>
  
  <p>Now what I want is to have an attached trigger in the select box which would catch the value 299 parse and validate it according to some rules and if everything is ok I'll then actually change the select box.</p>
  
  <p>No, I cannot change the .click function since that belongs to an external module.</p>
  
  <p>And I can't also put the val in a hidden input to validate it.</p>
  
  <p>Any ideas?</p>