I can\'t set the value of a hidden field with jquery in asp .net.
My hidden field is declared like this:
Set ClientIDMode="Static" and then you can use $('#hdnSelectedTicket').val(ticketID); to set the value in asp hidden field
ClientIDMode="Static"
$('#hdnSelectedTicket').val(ticketID);
like
asp:HiddenField ID="hdnSelectedTicket" runat="server" ClientIDMode="Static"
and