How to mix variables with selectors?
I have ID variable.
I want to select image with this id from div #one.
jQuery(\'#one img .id\') is
jQuery(\'#one img .id\')
. is a class selector. Try changing that to a #:
.
#
$('#one img #'+id)