Scholar Repository
Home>Manual>WMLScript WMLBrowser Library

WMLScript WMLBrowser Library

From http://www.w3schools.com (Copyright Refsnes Data)

WMLScript WMLBrowser Library

previous next


The WMLBrowser library contains functions that can be used to access browser variables.


WMLScript WMLBrowser Library Functions

Function Description
getCurrentCard() Returns the (relative) URL of the current card
getVar() Returns the value of a variable
go() Goes to a new card
newContext() Clears all variables
prev() Goes to the previous card
refresh() Refreshes the current card
setvar() Sets the value of a variable

Note: The WML specification states that calls to library functions that are not supported by the browser should return invalid. Because of this, all the above functions should be tested against their return value, and proper action should be taken in case a function returns invalid.


previous next

From http://www.w3schools.com (Copyright Refsnes Data)

Home>Manual>WMLScript WMLBrowser Library