Object for managing selection elements (listboxes and combo boxes) on the current page (SELECT tag)
Example
<select name="select" id="123" size=""><:select>
Description
the SELECT Tag allows you to create an interface element in the form of a drop-down list, as well as a list with one or multiple selections, as shown below. The final appearance depends on using the size attribute of the select tag,
which sets the height of the list. The width of the list is determined by the widest text specified in the option tag, and can also be changed using styles. Each item is created using the option tag, which must be nested in the select container.
If you plan to send list data to the server, you need to place the select element inside the form. This is also necessary when the list data is accessed via scripts.
select_index_by_number – select an option by its index in the ListBox with the specified number select_index_by_name – select an option by its index in the ListBox with the specified name select_index_by_attribute – choose the option by its index in the ListBox with the specified value of the attribute
select_text_by_number – select an option by its text in the ListBox with the specified number select_text_by_name – select an option by its text in the ListBox with the specified name select_text_by_attribute – select an option by its text in the ListBox with the specified attribute value
select_value_by_number – select an option by its value in the ListBox with the specified number select_value_by_name – select an option by its value in the ListBox with the specified name select_value_by_attribute – choose the option according to its value in the ListBox with the specified value of the attribute
select_index_by_attribute_by_form_number – select an option by its index in the ListBox with the specified value of the attribute in the form with the given number select_index_by_attribute_by_form_name – select an option by its index in the ListBox with the specified attribute value and in the form with the specified name
select_text_by_attribute_by_form_number – select an option by its text in the ListBox with the specified attribute value and in the form with the specified number select_text_by_attribute_by_form_name – select an option by its text in the ListBox with the specified value of the attribute in the form with the specified name
select_value_by_attribute_by_form_number – select the option according to its value in the ListBox with the specified value of the attribute in the form with the given number select_value_by_attribute_by_form_name – select the option according to its value in the ListBox with the specified value of the attribute in the form with the specified name
get_selected_text_by_number – get the text of the selected option in the ListBox with the specified number get_selected_text_by_name – get the text of the selected option in the ListBox with the specified name get_selected_text_by_attribute – get the text of the selected option in the ListBox with the specified attribute value
Get information about options
get_size_by_number – get the size of the ListBox (number of rows) with the specified number get_size_by_name – get the size of the ListBox (number of rows) with the specified name get_size_by_attribute – get the size of the ListBox (number of rows) with the specified attribute value
get_length_by_number – get the length of the ListBox with the specified number get_length_by_name – get the length of the ListBox with the specified name get_length_by_attribute – get the length of the ListBox with the specified attribute value