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 the selector. I've tried $('#one img .'+id) but doesn't work.
jQuery('#one img .id')
$('#one img .'+id)
This might just be a typo or you actually use the id variable in a class, but maybe it should be:
id
jQuery('#one img #'+id)