谁能解释下,我这样写为何出现了三个‘兄弟’?
<script type="text/javascript">
var $html = "<span class='red'>兄弟。</span>"
$('span').after($html);
$("span").before($html);
</script>
<script type="text/javascript">
var $html = "<span class='red'>兄弟。</span>"
$('span').after($html);
$("span").before($html);
</script>
2016-06-22
举报