|
|
WMLScript resolve() Function
Complete WMLScript URL Library
The resolve() function returns an absolute URL from the specified baseurl and the specified relativeurl.
Syntax
|
n = URL.resolve(baseurl, relativeurl)
|
| Part |
Description |
| n |
The string returned from the function |
| baseurl |
A string |
| relativeurl |
A string |
Example
|
var a=URL.resolve("http://w3schools.com", "/wml/n.wml");
|
Result
|
a = "http://w3schools.com/wml/n.wml"
|
Complete WMLScript URL Library
The Creators of XMLSpy are Pleased to Announce
|
|
|