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\')
ID's should be unique in your HTML. So you should be able to select the ID directly without worrying about which DIV it is in. Since you mention the ID is attached to the img tag, then this should be enough.
img
$('#' + id);