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

getBase — Return the URL of the current WMLScript unit

Usage

URL.getBase( )

Description

Returns the absolute form of the URL for the current WMLScript unit. The call part (if any) is removed, so the returned URL doesn’t contain a fragment.

Example

URL.getBase( )

might return string "http://host/script.wmls"

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