June 7, 2000 - WML's Tag | WebReference

June 7, 2000 - WML's Tag

Yehuda Shiran June 7, 2000
WML's <go> Tag
Tips: June 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

The <go> tag has a central role in WML. The user agent can change cards by the tag. This tag can call either a WMLScript function or move to another card of the WML deck. In the following example, clicking the Help option triggers a switch to card card1_help:

<do type="help" label="Help">
  <go href="#card1_help"/>

Clicking the Calculate option in the following example, triggers a call to a WMLScript function called convert, defined in the WMLScript currency.wmls:

<do type="accept" label="Calculate">
  <go href="currency.wmls#convert('conversion','$(from)',

Learn more about WML and how to execute WML decks in Column 61, Introducing WML and WMLScript.