item Property

SP.ListItem.item Property

SharePoint 2010

Last modified: May 27, 2011

Applies to: SharePoint Foundation 2010

Gets or sets the specified field value.

var value = SP.ListItem.get_item(fieldName); 
SP.ListItem.set_item(fieldName, value);

fieldName

Type: String

The name of the field.

Value

Type: String

The value of the field.

Type: Object

The field value.

Show:
© 2016 Microsoft