jquery latest conflict, having difficulty troubleshooting
<p>Hello All and thanks ahead for any help</p>

<p>I'm working on a website which references a global template that calls jquery-latest-min.js</p>

<p>So before you ask, the version will change beyond my control.</p>

<p>After many hours of troubleshooting some jquery code, I've found that  removing the call for jquery latest will make the code work again, however when it's broken, the following code doesn't return the correct option index. If you remove jquery latest, it works. </p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript" src="jquery-1.4.4.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="jquery-latest-min.js"&gt;&lt;/script&gt; &lt;!-- THIS IS THE ONE CAUSING CONFLICT --&gt;
&lt;script type="text/javascript"&gt;
    $(function() {
        $("div.click").click(function(){
            selectedOptionIndex = $("#mySelect option:selected").index();
            alert(selectedOptionIndex); // should alert "0"
        });
    });
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;select id="mySelect"&gt;
        &lt;option value=""&gt;0&lt;/option&gt;
        &lt;option value=""&gt;1&lt;/option&gt;
        &lt;option value=""&gt;2&lt;/option&gt;
        &lt;option value=""&gt;3&lt;/option&gt;
    &lt;/select&gt;
    &lt;div class="click"&gt;
        Click
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Is there something I'm doing wrong, or is there a problem with jquery latest? The version in particular here is v1.3.2</p>
