Alter Css Properties with Jquery

Thursday, March 25, 2010 9:40
Posted in category JavaScript

how to change the Properties of class or id with javascript?

It is very simple with jquery. we can alter or add any css property to the class or id. here is a sample example for it.

Assuming Jquery is Included

$(“#IdName”).css(“color”,”red”);
(or)
$(“.Classname”).css(“color”,”red”);

You can leave a response, or trackback from your own site.

Leave a Reply

*