How to get previous selection of dropdown value when I click button?
<p>How to get previous selection of dropdown value when I click button. I refer below coding </p>

<pre><code>    $(".addToButton").live('click', function (e) {
          var sel = $(this).prevAll(".addToList:first"),
          val = sel.val(),
          text = sel.find(':selected').text();    
    });
</code></pre>

<p>But it is not working. How should I get previous selection of dropdown value when I click button?</p>
