O'Reilly logo

Learning WML, and WMLScript by Martin Frost

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

getCurrentCard — Get the URL of the current card in the browser

Usage

WMLBrowser.getCurrentCard( )

Description

Returns a relative URL pointing to the card currently displayed by the browser. This URL is relative to the URL returned by the URL.getBase( ) function.

Returns invalid if there’s no current card in the browser.

Example

WMLBrowser.getCurrentCard( )

might return "../foo.wml#card2"

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required