SP.ClientObject.context Property
Applies to: SharePoint Foundation 2010
Returns the context that is associated with the client object.
var value = SP.ClientObject.get_context();
Property Value
Type: SP.ClientRuntimeContext
The context associated with the client object.