4D v14.3WA Get current URL |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
WA Get current URL
WA Get current URL
The WA Get current URL command returns the URL address of the page displayed in the Web area designated by the * and object parameters. If the current URL is not available, the command returns an empty string. If the Web page is completely loaded, the value returned by the function is the same as that of the "URL" variable associated with the Web area. If the page is in the process of being loaded, the two values will be different: the function returns the completely loaded URL and the variable contains the URL in the process of being loaded. The page displayed is the URL "www.apple.com" and the "www.4d.com" page is in the process of being loaded:
$url:=WA Get current URL(MyWArea) `returns "http://www.apple.com" |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v11 SQL Release 2 SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v11 SQL Release 6) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||