I have a couple of properties in my view model that are display-only but I need to retrieve their values using jQuery to perform a calculation on the page. The standard
You could make this id part of the view model and use it in the display template:
id
@Html.DisplayFor(x => x.Value)