.val() method is used to get the values of form elements such as input, select, textarea. You can also check our previous article how to set hidden field value in jQuery.
jQuery Code: Get hidden field value
That's it you just need to change the hiddenFieldId respectively and with .val() method you get the value of your hidden field. Make sure ID attributes should be unique on a web page. Here in demo example on button click, we alert hidden field value.
var getValue= $("#HiddenFieldID").val(); alert(getValue);
You can also check these articles: