Actually I am developing one project . In that there are jquery for button
- <script>
-
$(document).ready(function () {
-
$("#btnYes").click(function () {
-
$("#btnYes").html("Counted");
-
$("#<%= hdnYesNoAnswer.ClientID %>").val("Yes");
-
$('#txtComment').focus();
-
});
-
});
-
</script>
When I clicked the #btnYes , it changes "Clicked " .And In that page I added one hiddenfield called "#hdnYesNoAnswer" So now what I want is , get the value(Yes) from that jquery function and assign it for hiddenfield(#hdnYesNoAnswer) and save that hiddenfield value to the sql server database .
Please anyone help me ........