I have a value in Jquery. I need to apply that value to a view which has a model. For example, I need to do assign it to the following:
@Html.HiddenFor(model => model.programid)
the variable that I am trying to store in model.programid is called progid.