1.

How We Can Apply Css In Multiple Selectors In Jquery?

Answer»

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.

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.



Discussion

No Comment Found