Name
go — Specify a <go>
task to execute
Usage
WMLBrowser.go(url)
: Stringurl
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
Get Learning WML, and WMLScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.