how to access viewmodel in jquery

JavaScript
@(Html.HiddenFor(model => model.PropertyName))

$("#PropertyName").val();
Source

Also in JavaScript: