Wednesday, February 26, 2014

get list item id in javascript?

Hello,


Just try this code to get selected item ID:



var ctx = SP.ClientContext.get_current();
var items = SP.ListOperation.Selection.getSelectedItems(ctx);


http://ift.tt/1hRvwMd




Hemendra:Yesterday is just a memory,Tomorrow we may never see

Please remember to mark the replies as answers if they help and unmark them if they provide no help


No comments:

Post a Comment