Highlight Related Label when Input in Focus

0
0
$("form :input").focus(function() {
  $("label[for='" + this.id + "']").addClass("labelfocus");
}).blur(function() {
  $("label").removeClass("labelfocus");
});
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.