How can I check changes in selected options with jQuery? : <p>I want to store a value of the selected option and change it every time when user will change his mind. I used something like $('#selections').val() but first I receive undefined value and nothing happen when certain option is selected. </p>

<pre><code>&lt;select id="selections"&gt;
                &lt;option value="0"&gt;None&lt;/option&gt;
                &lt;option value="1"&gt;1&lt;/option&gt;
                &lt;option value="2"&gt;2&lt;/option&gt;
                &lt;option value="3"&gt;3&lt;/option&gt;
                &lt;option value="4"&gt;4&lt;/option&gt;
                &lt;option value="5"&gt;5&lt;/option&gt;
                &lt;option value="6"&gt;6&lt;/option&gt;
                &lt;option value="7"&gt;7&lt;/option&gt;
                &lt;option value="8"&gt;8&lt;/option&gt;
                &lt;option value="9"&gt;9&lt;/option&gt;
                &lt;option value="10"&gt;10&lt;/option&gt;
              &lt;/select&gt;
</code></pre>
