how to get name from a form name input jquery code example
Example 1: jquery input name value
var target = $('input[name="hoge"]').val();
Example 2: get name jquery
$('#yourid').attr('name')
var target = $('input[name="hoge"]').val();
$('#yourid').attr('name')