form input get value jquery code example
Example: javascript jquery get form field value
$(document).ready(function(){
$("#buttonSet").click(function () {
$("#txtBox").val("Amit");
$("input:radio").val(["male"]);
$("#buttonGet").removeAttr('disabled');
});
$("#buttonGet").click(function () {
$("#result").html(
$("#txtBox").val() + "<br/>" +
$("input:radio[name=rd]:checked").val()
);
});
});