Scholar Repository
Home>Manual>WML refresh tag

WML refresh tag

From (Copyright Refsnes Data)

WML <refresh> tag

WML Reference Complete WML Reference

The <refresh> task refreshes some specified card variables. If any of the variables are shown on the screen, this task also refreshes the screen.

Note: The <refresh> tag can be nested inside an <anchor>, <do>, or <onevent> tag. 




Attribute Value Description
class cdata Sets a class name for the element. The class name is case sensitive. An element can be connected to multiple classes. Multiple class names within the class attribute are separated by white space
id id Sets a unique name for the element


The example below uses an <anchor> tag to add a "Refresh this page" link to the card. When the user clicks on the link, he or she refreshes the page and the value of the variable x will be set to 30:

<?xml version="1.0"?>

  Refresh this page
  <go href="thispage.wml"/>
   <setvar name="x" value="30"/>

WML Reference Complete WML Reference

From (Copyright Refsnes Data)

Home>Manual>WML refresh tag