|
|
WMLScript getPort() Function
Complete WMLScript URL Library
The getPort() function returns the port number specified in the url parameter.
Syntax
| Part |
Description |
| n |
The string returned from the function |
| url |
A string |
Example
var a = URL.getPort("http://w3schools.com:80");
var b = URL.getPort("http://w3schools.com");
|
Result
Complete WMLScript URL Library
The Creators of XMLSpy are Pleased to Announce
|
|
|