Posts Tagged ‘Alter Css Properties’

Alter Css Properties with Jquery

Thursday, March 25, 2010 9:40 No Comments

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”);

This was posted under category: JavaScript Tags: , ,