Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

selected items ecma script

$
0
0

Hello all,

The following code will help us to get all the IDs of selected items from SharePoint List.

var ctx = SP.ClientContext.get_current();var selectedItems = SP.ListOperation.Selection.getSelectedItems(ctx);var key;for (key in selectedItems) {
alert(selectedItems[key].id);

If I want to get my custom column, then how can I?

Thanks


Like Cricket




Viewing all articles
Browse latest Browse all 25064

Trending Articles