get name of field jquery code example Example 1: get name jquery $('#yourid').attr('name') Example 2: jquery get name attribute $( "input[name='Hot Fuzz']" );