get a text field by name jquery code example Example: jquery input name value var target = $('input[name="hoge"]').val();