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