SP.PageRequest.url Property
Applies to: SharePoint Foundation 2010
Gets or sets the URL to which the web request is directed.
var value = SP.PageRequest.get_url();
SP.PageRequest.set_url(value);
Property Value
Type: String
The URL to which the web request is directed.