I open list item for editing and want to execute some javascript for this but i cann't retrieve item Id in Edit form.
I use following code:
var context = SP.ClientContext.get_current();
var items = SP.ListOperation.Selection.getSelectedItems(context);
But items collection is empty. On "View all" List form this code work well. Throubles only in EditForm. Can anyone help me?
