$(document).ready(function(){ $( ".rg" ).remove(); console.log("Removed Element"); });