I have two pages. From the first page, I open a modal with a querystring that holds that value of a client name. I then use this to set a hiddenfield on the modal that opene
You forgot the # in your selector to select by ID:
var hv = $('#hidClientField').val();
Although asp.net generates ID based on the naming containers so you might end up with an ID like ctl1$hidClientField. You can then use the "attribute ends with" selector:
var hv = $('input[id$=hidClientField]').val();
Check the documentation about jQuery selectors