Classes

Method WMLCard():selectOption() Professional

Create a single item in a selection list.

Syntax
:selectOption( <cLabel>       , ;
               [<cValue>]     , ;
               [<cOptions>] ) --> self
Parameters
<cLabel>
The parameter <cLabel> becomes the body of the WML <option> tag.
<cValue>
The parameter <cValue> becomes the value of the value attribute.
<cOptions>
The parameter <cOptions> is a character string that is inserted into the WML <option> tag.
Return

This method returns the object executing the method (self).

Description

The method creates a single item in a selection list.

WML output:

<option [value="cValue">] [cOptions]>cLabel<option/> 

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.