How we can apply css in multiple Selectors in jquery.

How we can apply css in multiple Selectors in jquery.

Postby tomrff » Thu Apr 28, 2011 1:43 pm

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.
tomrff
 
Posts: 33
Joined: Sat Jan 08, 2011 10:12 pm

Return to JQuery

Who is online

Users browsing this forum: No registered users and 2 guests

cron