WML tutorial 9: SELECT LIST control

xiaoxiao2021-03-06  38

WML tutorial 9: SELECT LIST control

The ability to control the form can prove whether an HTML designer is professional, and many interactions must rely on the form. WML does not have a form attribute, but WML can directly use the control, which can also achieve the effect of using the form. Therefore, the level of using the control can reflect the level of production of WML designers.

The WML control has two series of SELECT LIST and INPUT BOX, each of which includes several sub-series, which can basically meet the needs of form design.

Select list control (select List) Select has two pairs of properties that are also easily confusing: Name, Value, IName, Ivalue. The differences and uses of these four attributes are less easy to describe clearance, and they will be easily understood later.

Each SELECT is a collection of one or more options, and the Option is returned to the Name and INAME of the SELECT element.

Example:

The above example is a basic radio list, and the result is assigned to X.

Example 2:

Please Choice All Your Favourite Web.

The above example demonstrates Option's onpick function, regardless of the state of the Option, as long as it is selected, the browser will jump to the specified URL.

Example 4:

Please Choice Your Favorite Web.

CopyRight © 2020 All Rights Reserved
Processed: 0.073, SQL: 9