I\'m doing a validation with Jquery and need to get the $label from each element with their own label. Now the alert() gives med [object object]. The best thing for me here
Check this DEMO
$('input').each(function () { if ($(this).val() == '') { $element = $(this); var label = $element.closest("div").find("label").text(); alert(label) } });