Detect which dropdown selected and return its value and ID
<p>I have few drop-down boxes. Is there any way to detect which dropdown was changed using jquery ?</p>

<pre><code>&lt;form id="products"&gt;
 &lt;select id="Ram"&gt;
   &lt;option value="0"&gt;4 GB&lt;/option&gt;
   &lt;option value="1"&gt;8 GB&lt;/option&gt;
 &lt;/select&gt;

 &lt;select id="Hdd"&gt;
   &lt;option value="0"&gt;300 GB&lt;/option&gt;
   &lt;option value="1"&gt;500 GB&lt;/option&gt;
 &lt;/select&gt;
&lt;/form&gt;
</code></pre>

<p>Javascript/Jquery</p>

<pre><code>$(document).ready(function() {
  $('#products').change(function() {
     var value = $(this).val(); //In here I want to detect and return the value.
     alert(value); // Want to return dropdown ID and its selected value
  });
});
</code></pre>
