SP.ListItem.item Property

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);

Parameters

fieldName

Type: String

The name of the field.

Parameters

Value

Type: String

The value of the field.

Property Value

Type: Object

The field value.

Applies To

SP.ListItem Class

See Also

Reference

SP.ListItem Methods

SP.ListItem Properties

SP Namespace