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')
$('#one img .'+id)
Edit: Based on your comment below, you would use this:
In your question you have a space between the img & the .class, I've simply removed that so you get img.className or img.'+className