Find item in dropdownlist using jquery
var contain = false;
$('#dropdownlist option').each(function(){
if (this.value == 'item-name') {
contain = true;
return false;
}
});
$('#dropdownlist option').each(function(){
if (this.value == 'item-name') {
contain = true;
return false;
}
});
Comments
Post a Comment