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