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
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a free 30-day trial today!
Click to see a demo!
Learn what’s new in v2008
|