getFragment (XSPUrl - JavaScript™)
Gets the fragment identifier of the URL.
Defined in
XSPUrl (JavaScript)Syntax
getFragment() : string| Return value | Description |
|---|---|
string |
The fragment identifier. |
Usage
The fragment identifier follows the# character
after the URL proper and identifies a location in the URL content.You
cannot get a fragment identifier for the URL representing the current
context (context.getUrl()) because the client does
not transmit it to the server. For a discussion, see http://www.dominoguru.com/pages/xspurl_full_url_xpages_85.html.