I am trying to teach myself jquery while reading someone else's code, and I found this line of code:
var b = $('#background .image img');
I don't see any documentation for it - any idea what it could mean?
I am trying to teach myself jquery while reading someone else's code, and I found this line of code:
var b = $('#background .image img');
I don't see any documentation for it - any idea what it could mean?
This will select elements based on that CSS-Selector: Any <img>
in an element with the class image
, that is in an element with the ID background
It selects all <img>
tags inside elements with class image
inside the element with id background
.