我的问题很基本,但我不明白为什么在下面的代码中,只有按钮单击按钮消失,而不是整个div: function remove(id) { element = document.getElementById(id);
document.removeChild(element);</script>
<div id="intro"
如何通过jQuery或Javascript获得此输出:This is a <span class="getClass" >test</span> for javascript and jquerycan i change it in multiple line <span class="getClass" >look</span> like thisThis is a test for javascriptan