jquery name of the input tag code example
Example 1: jquery input name value
var target = $('input[name="hoge"]').val();
Example 2: jquery tag name
$('anything').prop("tagName")
var target = $('input[name="hoge"]').val();
$('anything').prop("tagName")