|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > URL > getFragment()
getFragment() - The getFragment Function
Usage: getFragment(url)
Description: Returns the fragment used in the given url. If no fragment is specified an empty string is returned. Both absolute and relative URLs are supported. Relative URLs are not resolved into absolute URLs.
Example:var a = URL.getFragment("http://www.wirelessdevnet.com/cont#frag");
// a = "frag"
Bookmark this page
|
|