Alter Css Properties with Jquery
Thursday, March 25, 2010 9:40Posted in category JavaScript
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”);
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.