Changing Individual CSS Styles with jQuery

Submitted by rmiddle on Sun, 08/03/2008 - 12:04

http://www.swartzfager.org/blog/index.cfm/2008/2/21/Changing-Individual-CSS-Styles-with-jQuery


$("#missionStatement").addClass("importantTextClass");
$("#userProfile").removeClass("hideTextClass");

 

 

 

if ($("#missionStatement").css("font-weight")== "400" || $("#missionStatement").css("font-weight")== "normal")
$("#userProfile").css("display","none");
$("#missionStatement").css({ fontSize:"24px", fontWeight:"bold" });
}
tax_term_view
Category Tags
jQuery Javascript, jQuery