SP.FieldLookupValue.lookupId property (sp.js)

Gets or sets the identifier (ID) of the list item that this instance of the lookup field is referring to.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.FieldLookupValue.get_lookupId ()
var value = SP.FieldLookupValue.set_lookupId ()

Return value

Type: Number