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"
Get Learning WML, and WMLScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.