WMLScript getCurrentCard() function

The getCurrentCard() function returns the (relative) URL of the current card.

Syntax

n = WMLBrowser.getCurrentCard()
Component Description
n The string returned by the function.

Example

var a = WMLBrowser.getCurrentCard();

Result

a = "card1#note"