Highlight Related Label when Input in Focus
$("form :input").focus(function() {
$("label[for='" + this.id + "']").addClass("labelfocus");
}).blur(function() {
$("label").removeClass("labelfocus");
});
Tags: Highlight Related Label when Input in Focus
by Subbu · Published April 24, 2013
by Subbu · Published September 14, 2013
by Subbu · Published March 21, 2013
More