One of the JSOM solutions I am working on, I am alerting the SharePoint choice column value upon change. I have a list called Asset List (collaboration list) with four columns: Title, Stage(Choice column with choices: Development, Transition and Property), Asset Link (Hyperlink type column) and Asset Description. Please see below screenshot for reference
So right now using below code I am able to catch and alert when a stage choice column value changes.
Now the next challenging step is when the stage value changes for e.g. from Development to transition then I also want to get the list item id or ID(metadata column value for that change) and the URL value from the Asset Link column.I have to pass either ID or ListItemID and also the URL value into couple of functions so need to capture them when a stage value changes. I am using JSOM and working with office 365/SharePoint online. If any one has an idea, please help.