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!
If you are not looking for the immediate parent, you can also use:
$('#childID').closest("tr");
Where tr is a selector for the parent you're trying to find. This is useful if you aren't sure of the depth of the hierarchy.