How we can apply css in multiple Selectors in jquery.

January 20, 2010 | Filed Under JQuery | Comments Off

HereĀ  to take effect is example to demonstrate

$(“div,span,p.myClass”).css(“border”,”1px solid green”);

the border will be apply in all div,span ,p.myClass class element.

Comments

Comments are closed.

© PHPInterviewQuestion.com 2009 - 2012

eXTReMe Tracker