jQuery getting values from multiple selects together
<p>I've got the following code which basically when the value of the select is changed I want to be able to take the new value and add it to the already existing value (or minus it).</p>

<p>I'm having an issue actually grabbing the value. I have this to create the select lists:</p>

<pre><code>      &lt;li class="extraHeight"&gt;
    &lt;asp:Image runat="server" CssClass="iconImageMove" ID="Image14" ImageUrl="~/images/icons/carpark_off.png" /&gt;
    &lt;div class="flipWidth"&gt;
        &lt;select name="access" class="change" id="carpark_off"  runat="server"&gt;
            &lt;option value="0"&gt;Off&lt;/option&gt;
            &lt;option value="256"&gt;On&lt;/option&gt;
        &lt;/select&gt;
     &lt;/div&gt; &lt;br /&gt; &lt;p class="noWrap"&gt;Accessible Car parking facilities&lt;/p&gt;
&lt;/li&gt;

        &lt;li class="extraHeight"&gt;
    &lt;asp:Image runat="server" CssClass="iconImageMove" ID="Image15" ImageUrl="~/images/icons/parking_off.png" /&gt;
    &lt;div class="flipWidth"&gt;
        &lt;select name="access" class="change" id="parking_off"  runat="server"&gt;
            &lt;option value="0"&gt;Off&lt;/option&gt;
            &lt;option value="33554432"&gt;On&lt;/option&gt;
        &lt;/select&gt;
     &lt;/div&gt; &lt;br /&gt; &lt;p class="noWrap"&gt;Customer Car parking facilities&lt;/p&gt;
&lt;/li&gt;

        &lt;li class="extraHeight"&gt;
    &lt;asp:Image runat="server" CssClass="iconImageMove" ID="Image16" ImageUrl="~/images/icons/staff_off.png" /&gt;
    &lt;div class="flipWidth"&gt;
        &lt;select name="access" class="change" id="staff_off"  runat="server"&gt;
            &lt;option value="0"&gt;Off&lt;/option&gt;
            &lt;option value="8192"&gt;On&lt;/option&gt;
        &lt;/select&gt;
</code></pre>

<p>(There are a lot more but that gives you an idea)</p>

<p>I'm using the following jQuery to detect the change and try and grab the value but it's not working:</p>

<pre><code>&lt;script&gt;

    var value = $("select").val()
    $("select").change(function () {
          alert(value);
        })

&lt;/script&gt;
</code></pre>

<p>Any suggestions would really be appreciated!</p>

<p>Tom</p>
