MVC5 Classic
jQuery CSS Selectors

If you want to change the CSS property for an HTML element, you can use a CSS selector. For example, the following jQuery script changes the background color of all <div> elements to red:

$(“div”).css(“background-color”,”red”);

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback