Jquery.change firing on page load
<pre><code>&lt;label for="AddList" class="locType"&gt;Select a location&lt;/label&gt;
&lt;select id="AddList"&gt;
     &lt;option value="New"&gt;New Address...&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>The Js.</p>

<pre><code>$(document).ready(function() {
    //Location Code
    $("#AddList").change(function() {
        var str = "";
        $("#AddList option:selected").each(function() {
            str += $(this).text() + " ";
        });
        alert(str);            
    })
    .change();
});
</code></pre>

<p>I'm trying to alert the contents whenever the user selects an option in the combobox.
Also, could the code be provided to get the value of the selected option also.</p>

<p>Thank you</p>
