<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("select[title='ChooseCountry']").change(function() {
var stage = $("select[title='ChooseCountry']").val();
var itemID = getParameterByName('ID');
var URL = $("input[id^='Asset_x0020_Link']").val();
alert(ID);
});
});
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
</script>
Friday, 20 July 2018
Home
/
Choice
/
Columns
/
Field
/
ID
/
JSOM
/
List Item
/
O365
/
Office365
/
share
/
SharePoint
/
SharePoint 2013
/
Get List Item ID when a SharePoint choice column changes
Get List Item ID when a SharePoint choice column changes
by
Gowtham
on
Friday, July 20, 2018
in
Choice,
Columns,
Field,
ID,
JSOM,
List Item,
O365,
Office365,
share,
SharePoint,
SharePoint 2013

About Gowtham
I'm a software developer who enjoys building solutions, exploring new tech, and helping others grow through clean and simple content. This blog shares real-world coding tips, Power Platform how-tos, AI experiments, and lessons learned from hands-on experience.
SharePoint 2013
Tags
Choice,
Columns,
Field,
ID,
JSOM,
List Item,
O365,
Office365,
share,
SharePoint,
SharePoint 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment