WML » Tags » go

Syntax:
<go href=... />

The go tag navigates to the specified URL.

This is referred to as a go task. A task is performed in response to an event. There are four tasks in WML: go, noop, prev, and refresh.
 
The go element can contain one or more postfield elements. If the destination of a go element is a card within the same deck,all of the postfield elements will be ignored.
 
The go element can also contain one or more setvar elements. Unlike postfield elements, there are no destination limitations on passing information contained in the setvar elements.
 
Nested Tags:  postfield  setvar

Examples

Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>

<card id="card1" title="card 1">
<p>
<anchor title="anchor tag">
Go To Card 2
<go href="#card2" />
</anchor>
</p>
</card>

<card id="card2" title="card 2">
<p>
DevGuru is great!
</p>
</card>

</wml>
Explanation:

This code shows how to use the go tag to navigate to a different url.

Language(s): WML

See Also: