SP.Utilities.Utility.getLayoutsPageUrl(pageName) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Gets the URL for the specified page.
var value = SP.Utilities.Utility.getLayoutsPageUrl(pageName);
Parameters
pageName
Type: string
The page for which the URL is returned.
Return Value
Type: string
The URL to the page.
Remarks
This method returns the URL to the page in the _layouts folder relative to the root of the website.