WMLScript refresh() function

The refresh() function refreshes the current card, and returns an empty string if successful. If it fails, it returns a non-empty string.

Syntax

n = WMLBrowser.refresh()
Components Description
n The string returned by this function.

Example

var a = WMLBrowser.setVar("day",11);
var b = WMLBrowser.refresh();

Result

a = true
b = ""