.after()
Run
↔
<!doctype html> <html lang="vi"> <head> <meta charset="utf-8"> <title>Học web chuẩn</title> <script src="https://code.jquery.com/jquery-latest.js"></script> <script> $(function(){ $('div').remove(".test"); }); </script> </head> <body> <div class="test">Thành phần div có class test</div> <div>Thành phần div</div> </body> </html>