O'Reilly logo

Learning WML, and WMLScript by Martin Frost

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

go — Specify a <go> task to execute

Usage

WMLBrowser.go(url)

url : String

Description

Specifies a simple <go> task that is executed when control returns to the browser from the WMLScript interpreter. This function, and prev( ), may be called multiple times. Each call overrides the previous one, so only the last call to either go( ) or prev( ) has any effect. If url is the empty string, the resulting task has no effect. This can cancel a previous task set up with go( ) or prev( ).

Returns the empty string; returns invalid if url can’t be converted to a string.

Examples

WMLBrowser.go("http://inhand.net/wap/main.wml")

returns ""

WMLBrowser.go(invalid)

returns invalid

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required