how to get input type name in jquery code example Example: jquery input name value var target = $('input[name="hoge"]').val();