WMLScript isValid() Function
Complete WMLScript URL Library
The isValid() function returns a boolean value that is true if the specified URL has the right syntax, and false if not.
Syntax
| Part |
Description |
| n |
The boolean value returned from the function |
| url |
A string |
Example
var a = URL.isValid("http://www.w3schools.com");
var b = URL.isValid("http//www.w3schools.com");
var c = URL.isValid("http://www.w3schools.com!!!!");
|
Result
a = "true"
b = "false"
c = "false"
|
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!
|