|
WMLScript
Quick Reference: Functions in the WMLBrowser Standard Library
|
getCurrentCard()
Returns
the URL of the current card displayed in the WML browser.
|
getVar(variable_name)
Returns
the value of the WML variable variable_name.
Example:
var
wmlscript_variable = WMLBrowser.getVar("wml_variable");
|
go(url)
Goes
to the card with URL address url.
Example:
WMLBrowser.go("http://www.developershome.com/helloWorldEg1.wml");
|
newContext()
Clears
all WML variables and the URL history stored in the WML browser.
|
prev()
Goes
to the previous card displayed in the WML browser.
|
refresh()
Refreshes
the contents of the current card displayed in the WML browser.
|
setVar(variable_name,
value)
Assigns
value to the WML variable variable_name.
Example:
WMLBrowser.setVar("wml_variable",
"Hello World");
|
|
Feedback Form (ExpandCollapse)
|