<div id='div_1'> I am a DIV <span> I am a SPAN </span> </div> <script> $(function(){ $("#div_1").contents().filter('span').remove(); }); </script>