SP.ChangeItem.webId property (sp.js)
Gets a value that identifies the site that contains the changed item.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ChangeItem.get_webId ()
Return value
Type: SP.Guid