|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > WMLBrowser > prev()
prev() - The prev Function
Usage: prev()
Description: Signals the WML browser to go back to the previous WML card. This function has the same semantics as the PREV task in WML. The previous card is loaded only after the WML browser resumes the control back from the WMLScript interpreter after the WMLScript invocation is finished.
prev() and go() library functions override each other. Both of these library functions can be called multiple times before returning the control back to the WML browser. However, only the settings of the last call stay in effect. In particular, if the last call go go() sets the URL to an empty string (""), all previous go() and prev() requests are effectively cancelled.
Invoking the Lang.abort() function along with any other fatal errors cancels any pending prev() request.
Example:WMLBrowser.prev();
Bookmark this page
|
|