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 June 20, 2013 · Last modified June 29, 2013
by Subbu · Published August 19, 2013
by Subbu · Published September 10, 2013
More