Home Cooker Classes Others Rice CookerGX
Classes  >  select  >  Value(string)
select class : Value(string) setter

Description

Selects an item that the value of the value attribute is same as the assigned value.

Syntax

selectInstance.Value = attributeValue

Arguments

ClassNameDescription
stringattributeValueValue of value attribute of item to be selected.

Return value

None

Sample code

// anySelect is an instance of select class.

anySelect.Value = "Attribute value";

Notes

If an item has an assignment value as a value attribute, that item is selected.

If there is no assigned value as a value attribute, it will be in a non-selected state.

Links for reference

Copyright © Rice All rights reserved.