I\'ve got an element which resides inside a div. I\'d like to get the div by the child\'s ID, is this possible? if so how?
Thank you!
Use jQuery to get the child element, and jQuery to address the parent
element = $('#childID').parent();
Note: Yes, this is similar to Pekka's answer. It was meant to be humorous in that regard. If you don't find it humorous.....