VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.UIElements Namespace / WebUiSelectElementJS type / containsOption Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    containsOption Method
    In This Topic
    Returns a value indicating whether this select element contains option with specified text.
    Syntax
    var instance = new Vintasoft.Imaging.UI.UIElements.WebUiSelectElementJS(settings);
    
    var value; // Type: boolean
    
    // Parameters
    var text; // Type: string
    
    value = instance.containsOption(text);
    
    
    function containsOption(
    text
    An option text that should be searched in this select element.
    : string
    ) : boolean;

    Parameters

    text
    An option text that should be searched in this select element.

    Return Value

    True - this select element contains option with text; otherwise, false.
    Browser Compatibility
    56+
    45+
    11
    See Also