So I have a div that is drawing in dynamic elements at its bottom and I want to hide these elements, no matter what their IDs are using javaScript/jQuery. Basically my HTML
Target the class instead of the dynamic ID.
$('.right-panel . element-to-remove').remove();