Slide 11.22: WML tasks (cont.) Slide 11.24: WML ONEVENT and TEMPLATE tags Home |
REFRESH
Tag
<refresh>
tag can only be nested inside an <anchor>
, <do>
, or <onevent>
element.
This tag can contain one or more <setvar>
elements which are used to set new values for named variables.
SETVAR
Tag
name
attribute and the value by the value
attribute.
The name of the variable in the name/value pair must be of correct syntax.
For example, the following code will create a variable named i
with a value of 500:
<setvar name="i" value="500"/>The
<setvar>
tag can only be nested in the <go>
, <prev>
, and <refresh>
tags.