$('input').on("focus", function() { var labelText = $('label[for='+ this.id +']').text(); console.log( labelText ); });