How to check the option value in drop down with previous value?
<p>If the option value and previous matches it won't display in that drop down using jquery</p>

<p>Edit</p>

<p>Populating the selectbox based on user's comment</p>

<pre><code>$.each(g_Vehicle, function (index) { 
     var iYear = g_Vehicle[index].Year;
     sMake = g_Vehicle[index].Make;
            selectYear = '&lt;option value="' + iYear + '"&gt;' + iYear + '&lt;/option&gt;'; selectMake =   '&lt;option value="' + sMake + '"&gt;' + sMake + '&lt;/option&gt;'; 
     $("#DropDown_Year").append(selectYear);    
     $("#DropDown_Make").append(selectMake); 
});
</code></pre>
