|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > URL > getReferer()
getReferer() - The getReferer Function
Usage: getReferer()
Description: Returns the smallest relative URL (relative to the base URL of the current compilation unit) to the resource that called the current compilation unit. Local function calls do not change the referer. If the current compilation unit does not have a referer than an empty string is returned
Example:var base = URL.getBase();
// base = "http://www.host.com/current.scr"
var referer = URL.getReferer();
// referer = "app.wml#card2"
Bookmark this page
|
|