get input jquery code example
Example 1: jquery get value by name
$("input[name=nameGoesHere]").val();
Example 2: jquery value of input
$("#textInput").val() // To get value of element textInput
$("input[name=nameGoesHere]").val();
$("#textInput").val() // To get value of element textInput