WMLScript getCurrentCard() 函數

getCurrentCard() 函數返回當前卡片的(相對)URL。

語法

n = WMLBrowser.getCurrentCard()
成分 描述
n 該函數返回的字符串。

例子

var a = WMLBrowser.getCurrentCard();

結果

a = "card1#note"