javascript - Catch img who are within a certain div -
i have code in page:
$('img[title!=""]').each(function() {
it selects img
's in website, want images within div called 'layout' title not null, how this?
assuming layout
id of div
use
$('img[title!=""]', '#layout').each(function() {
or
$('#layout img[title!=""]').each(function() {
Comments
Post a Comment