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 opened.
I need a TextBox on the new modal to display the value that has been sent through from the first screen.
I've tried getting the value using:
var hv = $('hidClientField').val();`
But this doesn't seem to work.
This is my hidden field:
<asp:HiddenField ID="hidClientName" runat="server" />`
I set it in the code behind on the Page_Load like this:
hidClientName.Value = Request.QueryString["Client_Name"] ?? "";`
Any ideas will be much appreciated.
<%...%>
won't be parsed. – Tigre