Radio buttons […]                     alert($(this).siblings("input[id$=hdnHiddenField]").val()); So to find the id try this: var id = $(this).closest("input[type=hidden]").attr("id"); Ok I just tested it and I changed it to use jQuery's sibling function. More than one primary key fields can be set to DataKeyNames. just hidden field value is shown undefined. . To get the value for each element individually, use a looping construct such as jQuery's .each() or .map() method. Anyone can see HiddenField details by simply viewing the source of document. But still i am facing one problem. Found inside – Page 273Until then we're stuck with an ad hoc method that involves targeting a
element to a hidden