Add a class dependent on number of selected option
<p>I have a select-box used a lot of times on a page.</p>

<pre><code>&lt;div class="some-div"&gt;
    &lt;a class="maybe"&gt;Maybe&lt;/a&gt;
    &lt;select class="selectclass"&gt;
        &lt;option&gt;Maybe&lt;/option&gt;
        &lt;option&gt;Yes&lt;/option&gt;
        &lt;option&gt;No&lt;/option&gt;
    &lt;/select&gt;
&lt;/div&gt;
</code></pre>

<p>How could I using jQuery add a class to 'a' element dependent on the number of the selected option? The class must be taken not from the value because the site is multilingual, but from the number of the option: 'maybe' for 1st, 'yes' for 2nd and 'no' for the 3rd. The select is used many times on the page so it should apply only for the one which is in action. </p>

<p>Thanks in advance!  </p>
