jquery get input value by name code example
Example 1: jquery input name value
var target = $('input[name="hoge"]').val();
Example 2: jquery get value by name
$("input[name=nameGoesHere]").val();
Example 3: jquery value of input
$("#textInput").val() // To get value of element textInput
Example 4: get value of input jqueyr
var str = $("#myInput"). val();