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
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|