Hey guys, I'm very new to JQuery and a question about animating me on a specific class child. is.
I have the following:
& lt; Div class = "block" & gt; & Lt; Img src = "a.jpg" square = "top" & gt; & Lt; Img src = "b.jpg" & gt; & Lt; / Div & gt; & Lt; Div class = "block" & gt; & Lt; Img src = "c.jpg" square = "top" & gt; & Lt; Img src = "d.jpg" & gt; & Lt; / Div & gt; I'm calling with div (this) and I would like to select the image with the class 'top' to animate.
I have tried $ (this, 'img.top'). Chetan ({opacity: 0}, 400); }) But does it work Do anyone know the right syntax to select this?
reference is second. This is equivalent to $ (this). Find ('img.top') .
Comments
Post a Comment