Which is the correct jQuery statement to change the color of all <p> elements which are sibling elements of <pre>?
Options:
Explanation:
The correct jQuery statement to change the color of all
elements which are sibling elements of
is:
Tags:
jQuery
Answer:
Which is the correct jQuery statement to change the color of all <p> elements which are sibling elements of <pre> $("pre").siblings("p").css({"color": "red"});.