|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > URL > getScheme()
getScheme() - The getScheme Function
Usage: getScheme(url)
Description: Returns the scheme used in the given url. Both absolute and relative URLs are supported. Relative URLs are not resolved into absolute URLs.
Example:var a = URL.getScheme("http://www.wirelessdevnet.com/path#frag");
// a = "http"
var b = URL.getScheme("wirelessdevnet.com/path#frag");
// b = ""
Bookmark this page
|
|