This looks very simply, but I can\'t figure it out. I\'m using the jquery validate plugin. I\'m trying to validate and
if (e.attr("name") == "firstName" ) { $("#firstName__validate").text($(error).text()); console.log($(error).html()); }
Try this get text of error object