Find item in dropdownlist using jquery

var contain = false;
$('#dropdownlist option').each(function(){
    if (this.value == 'item-name') {
        contain = true;
        return false;
    }
});

Comments

Popular posts from this blog

Add Image through base64 on PDF in itextsharp

how to insert text and tags at the cursor CKEDITOR