FUNCTION:  WMLBrowser.go

The WMLBrowser.go function directs the browser to load the given URL. To effect this, the WMLScript interpreter returns control to the WML browser and then the specified card is loaded. The empty string "" is returned by this function.
If the URL cannot be loaded, the browser will display the appropriate error message.
Since calls to the WMLBrowser.go and WMLBrowser.prev functions override each other, only the last call will determine the settings in effect.
In WML, the go tag performs a similar task.
The mandatory url parameter can be a relative or absolute URL of the card you wish to navigate to. A relative URL will be resolved against the base URL of the current WML deck.
Code for GoExample.wml
<?xml version="1.0"?>

<card id="card1">
   go example
   <br />
   always return here
   <do type="accept">
      <go href="GoExample.wmls#findgo()" />


Code for GoExample.wmls
extern function findgo()

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information