jquery get val with 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();
var target = $('input[name="hoge"]').val();
$("input[name=nameGoesHere]").val();