Javascript Can I Remove And Replace Everything After A Specific Div

Javascript Can I Remove And Replace Everything After A Specific Div