comparing select option value
<p>By using the following code I am able to get the matched items. How to find the unmatched items from this:</p>

<pre><code>$('#list1 option').each(function (i, option)                        
    $('#list2 option').each(function (j, option) {
       if ($('#list1 option').val() ==$('#list2 option').val())
           matchedList= $('#list1 option').val()
       });
    });
});
</code></pre>
