WMLScript getCurrentCard() 函數(shù)
getCurrentCard() 函數(shù)返回當(dāng)前卡片的(相對)URL。
語法
n = WMLBrowser.getCurrentCard()
成分 | 描述 |
---|---|
n | 該函數(shù)返回的字符串。 |
例子
var a = WMLBrowser.getCurrentCard();
結(jié)果
a = "card1#note"
getCurrentCard() 函數(shù)返回當(dāng)前卡片的(相對)URL。
n = WMLBrowser.getCurrentCard()
成分 | 描述 |
---|---|
n | 該函數(shù)返回的字符串。 |
var a = WMLBrowser.getCurrentCard();
a = "card1#note"