1. WMLScript WMLBrowser Standard Library Quick Reference

WMLScript's WMLBrowser standard library provides a group of functions to control the WML browser or to get information from it.

WMLScript Quick Reference: Functions in the WMLBrowser Standard Library


Returns the URL of the current card displayed in the WML browser.


Returns the value of the WML variable variable_name.


var wmlscript_variable = WMLBrowser.getVar("wml_variable");


Goes to the card with URL address url.




Clears all WML variables and the URL history stored in the WML browser.


Goes to the previous card displayed in the WML browser.


Refreshes the contents of the current card displayed in the WML browser.

setVar(variable_name, value)

Assigns value to the WML variable variable_name.


WMLBrowser.setVar("wml_variable", "Hello World");

Page 1 of 6 Next Page

Feedback Form (ExpandCollapse)

What do you think about this web page?

(Optional) Please provide us more details. For example, suppose you select option 2 above, can you tell us specifically what information is missing? You can also suggest anything that can help us improve this web page.

(Optional) Your name:

(Optional) Your email address:

Please enter again to confirm:

Due to the amount of messages we received, we may not be able to reply to all messages.

A button for going back to the top of this page