jQuery reset all Selectboxes excluding the calling one
<p>i have a form where a user can select timing intervals. But I only want that the could choose only one option. On selecting a value from a dropdown jQuery should reset the other dropdowns.
HTML (and php but not relevant):</p>

<pre><code>&lt;select class="span1" name="repeatminute" id="repeatIntervalTiming" onChange="disableOther(this)"&gt;
            &lt;?php for($i=0; $i&lt;61;$i++){ echo "&lt;option&gt;$i&lt;/option&gt;"; } ?&gt;
            &lt;/select&gt;
            minute(s)&lt;/label&gt;
              &lt;label&gt;
            &lt;select class="span1" name="repeathour" id="repeatIntervalTiming" onChange="disableOther(this)"&gt;
            &lt;?php for($i=0; $i&lt;25;$i++){ echo "&lt;option&gt;$i&lt;/option&gt;"; } ?&gt;
            &lt;/select&gt;
             hour(s)&lt;/label&gt;
            &lt;label&gt;
            &lt;label&gt;
                 &lt;select class="span1" name="repeatday" id="repeatIntervalTiming" onChange="disableOther(this)"&gt;
            &lt;?php for($i=0; $i&lt;32;$i++){ echo "&lt;option&gt;$i&lt;/option&gt;"; } ?&gt;
            &lt;/select&gt;
            day(s)&lt;/label&gt;
            &lt;label&gt;
            &lt;select class="span1" name="repeatmonth" id="repeatIntervalTiming" onChange="disableOther(this)"&gt;
            &lt;?php for($i=0; $i&lt;13;$i++){ echo "&lt;option&gt;$i&lt;/option&gt;"; } ?&gt;
             &lt;/select&gt;
             month(s)&lt;/label&gt; 
</code></pre>

<p>Here is my jQuery try:</p>

<pre><code>function disableOther(caller){
    $('#repeatIntervalTiming').each(function(index) {
        if ($(this).text() != caller.textContent){
            $(this).val(0);
        }
    });
</code></pre>
