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

WMLScript getCurrentCard() Function


WMLScript WMLBrowser Library Complete WMLScript WMLBrowser Library

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

Syntax

n = WMLBrowser.getCurrentCard()

Part Description
n The string returned from the function

Example

var a = WMLBrowser.getCurrentCard();

Result

a = "card1#note"


WMLScript WMLBrowser Library Complete WMLScript WMLBrowser Library

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