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”); });
Tags: Highlight Related Label when Input in Focus
by Subbu · Published June 13, 2013 · Last modified June 29, 2013
by Subbu · Published April 20, 2013
by Subbu · Published May 6, 2013
More