How to get Highlight Related Label when Input in Focus?
$(“form :input”).focus(function() {
$(“label[for='” + this.id + “‘]”).addClass(“labelfocus”); }).blur(function() { $(“label”).removeClass(“labelfocus”); });
by Subbu · Published · Updated
Tags: Highlight Related Label when Input in Focus
by Subbu · Published March 12, 2013 · Last modified March 14, 2013
by Subbu · Published April 25, 2013
by Subbu · Published April 9, 2013
More