Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

get item id using javascript after commit

$
0
0

hi friends

i am using below code to for custom save button.

<input class="ms-btn" id="btnApp" onclick="javascript: {ddwrt:GenFireServerEvent('__commit')}; AfterSave();" type="button" value="Approve" />

my problem is i need to get item id in AfterSave() function

using "var itemId= _spPageContextInfo.pageItemId;" am not getting

is there any way to get the id of item.


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>