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